diff -r d7809d6e9db2 -r 2bc6cd62a29c tests/test-symlinks --- a/tests/test-symlinks Wed Nov 02 15:45:41 2005 -0800 +++ b/tests/test-symlinks Wed Nov 02 15:46:31 2005 -0800 @@ -22,3 +22,20 @@ #Assert screamed here before, should go by without consequence hg commit -m 'is there a bug?' + +cd .. ; rm -rf test +hg init test; cd test; + +mkdir dir +touch a.c dir/a.o dir/b.o +# test what happens if we want to trick hg +hg commit -A -m 0 +echo "relglob:*.o" > .hgignore +rm a.c +rm dir/a.o +rm dir/b.o +mkdir dir/a.o +ln -sf nonexist dir/b.o +mkfifo a.c +# it should show a.c, dir/a.o and dir/b.o removed +hg status