sapling/tests/test-dispatch
Martin Geisler 65537ad291 tests: removed redundant "-d '0 0'" from test scripts
The tests are executed with a .hgrc file which adds "-d '0 0'" by
default.
2009-04-26 14:29:02 +02:00

28 lines
283 B
Bash
Executable File

#!/bin/sh
# test command parsing and dispatch
"$TESTDIR/hghave" no-outer-repo || exit 80
hg init a
cd a
echo a > a
hg ci -Ama
echo "# missing arg"
hg cat
echo '% [defaults]'
hg cat a
cat >> $HGRCPATH <<EOF
[defaults]
cat = -v
EOF
hg cat a
echo '% no repo'
cd ..
hg cat
exit 0