tests/test-symlink-addremove
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 10 Sep 2008 13:52:33 +0200
changeset 7025 766d8cb8c622
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
run-tests.py: fix the check for the hg installation with -jn (n > 1)

#!/bin/sh

"$TESTDIR/hghave" symlink || exit 80

hg init a
cd a

echo '% directory moved and symlinked'
mkdir foo
touch foo/a
hg ci -Ama
mv foo bar
ln -s bar foo
echo '% now addremove should remove old files'
hg addremove