comparison tests/test-logtoprocess.t @ 34444:df78b1a24094

test-logtoprocess: make it compatible with chg chg runs more commands and outputs more lines. This patch matches them. Differential Revision: https://phab.mercurial-scm.org/D914
author Jun Wu <quark@fb.com>
date Mon, 02 Oct 2017 18:22:43 -0700
parents e98dab3fafbc
children af43cb56af4e
comparison
equal deleted inserted replaced
34443:f2268edf38d5 34444:df78b1a24094
43 Use sort to avoid ordering issues between the various processes we spawn: 43 Use sort to avoid ordering issues between the various processes we spawn:
44 $ hg foo | cat | sort 44 $ hg foo | cat | sort
45 45
46 46
47 47
48 (chg !)
48 0 49 0
49 a message: spam 50 a message: spam
50 command 51 command
52 command (chg !)
51 commandfinish 53 commandfinish
52 foo 54 foo
53 foo 55 foo
54 foo 56 foo
55 foo 57 foo
56 foo exited 0 after * seconds (glob) 58 foo exited 0 after * seconds (glob)
57 logtoprocess command output: 59 logtoprocess command output:
60 logtoprocess command output: (chg !)
58 logtoprocess commandfinish output: 61 logtoprocess commandfinish output:
59 logtoprocess foo output: 62 logtoprocess foo output:
63 serve --cmdserver chgunix * (glob) (chg !)
64 serve --cmdserver chgunix * (glob) (chg !)
60 spam 65 spam
61 66
62 Confirm that logging blocked time catches stdio properly: 67 Confirm that logging blocked time catches stdio properly:
63 $ cp $HGRCPATH.bak $HGRCPATH 68 $ cp $HGRCPATH.bak $HGRCPATH
64 $ cat >> $HGRCPATH << EOF 69 $ cat >> $HGRCPATH << EOF