##// 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:

r4473:f975e986 default
r8081:6c3b8132 default
Show More
test-addremove
26 lines | 340 B | text/plain | TextLexer
Thomas Arendsen Hein
Added test for the currently broken addremove with the expected output.
r1623 #!/bin/sh
hg init rep
cd rep
mkdir dir
touch foo dir/bar
hg -v addremove
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg -v commit -m "add 1" -d "1000000 0"
Thomas Arendsen Hein
Added test for the currently broken addremove with the expected output.
r1623 cd dir/
touch ../foo_2 bar_2
hg -v addremove
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg -v commit -m "add 2" -d "1000000 0"
Vadim Gelfer
addremove: add -s/--similarity option...
r2958
cd ..
hg init sim
cd sim
echo a > a
echo a >> a
echo a >> a
echo c > c
hg commit -Ama
mv a b
rm c
echo d > d
Thomas Arendsen Hein
Corrected similarity parameter used in test-addremove...
r4473 hg addremove -s 50
Vadim Gelfer
addremove: add -s/--similarity option...
r2958 hg commit -mb