tests/test-dispatch
author Martin Geisler <mg@lazybytes.net>
Sun, 26 Apr 2009 14:29:02 +0200
changeset 8167 6c82beaaa11a
parent 7429 dbc40381620e
child 8637 c88c8d59979f
permissions -rwxr-xr-x
tests: removed redundant "-d '0 0'" from test scripts The tests are executed with a .hgrc file which adds "-d '0 0'" by default.

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