##// END OF EJS Templates
issue1577: fix broken test by assuming less about CVS output....
issue1577: fix broken test by assuming less about CVS output. Specifically, output of "cvs ci" varies unpredictably across CVS versions, so any test that includes the output of "cvs ci" is doomed to fail some of the time. This fixes that by discarding the output of "cvs ci".

File last commit:

r3469:33b6c819 default
r8081:6c3b8132 default
Show More
test-empty-dir
16 lines | 274 B | text/plain | TextLexer
mpm@selenic.com
Remove empty directories on update...
r578 #!/bin/sh
hg init
echo 123 > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "first" -d "1000000 0" a
mpm@selenic.com
Remove empty directories on update...
r578 mkdir sub
echo 321 > sub/b
hg add sub/b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "second" -d "1000000 0" sub/b
mpm@selenic.com
Remove empty directories on update...
r578 cat sub/b
hg co 0
Peter van Dijk
changes by John Levon to standardize some erroroutput
r1926 cat sub/b 2>/dev/null || echo "sub/b not present"
Alexis S. L. Carvalho
Don't use test -e in tests - sh doesn't like it on Solaris
r3469 test -d sub || echo "sub not present"
mpm@selenic.com
Remove empty directories on update...
r578
true