view tests/test-symlink-root @ 5408:36794dbe66a3

Test workingctx exec/link bit for copies. Also, make the test runnable on platforms without symlinks.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 07 Oct 2007 15:13:50 +0200
parents 25d753efd48e
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" symlink || exit 80

hg init a
ln -s a link
cd a
echo foo > foo
hg status
hg status ../link