##// END OF EJS Templates
Use python instead of shell printf with \x sequences for test-encoding....
Use python instead of shell printf with \x sequences for test-encoding. Needed e.g. to be compatible with Solaris.

File last commit:

r2529:94198553 default
r3789:734b1d6b default
Show More
test-hup
16 lines | 146 B | text/plain | TextLexer
Matt Mackall
Update tests
r642 #!/bin/sh
hg init
mkfifo p
hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
Sascha Wilde
Some systems are slower ... give 'em some time/
r2529 sleep 3
Matt Mackall
Update tests
r642 kill -HUP $P
Thomas Arendsen Hein
Exit test-hup only after the background process has died....
r2088 wait
Matt Mackall
Update tests
r642 ls .hg