##// END OF EJS Templates
don't return uninitialized memory from bdiff.blocks()...
don't return uninitialized memory from bdiff.blocks() bdiff.blocks() returns a dummy match at the end of both files; the length of that chunk is never set, so it will sometimes contain random heap garbage. There are apparently workarounds for this elsewhere: # bdiff sometimes gives huge matches past eof, this check eats them,

File last commit:

r3918:a413f5c2 default
r4131:1ca664c9 default
Show More
test-hup
13 lines | 159 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
Thomas Arendsen Hein
Fix test-hup for different output of ls on at least MacOS X and Solaris 8.
r3918 echo .hg/* .hg/store/*