test-symlink-basic: require symlinks availability
authorPatrick Mezard <pmezard@gmail.com>
Sun, 15 Jul 2007 14:09:56 +0200
changeset 4882 25d753efd48e
parent 4881 c51c9bc4579d
child 4883 72ac66e88c43
child 4885 2a01e03ffacd
test-symlink-basic: require symlinks availability
tests/test-symlink-basic
tests/test-symlink-root
tests/test-symlinks
--- a/tests/test-symlink-basic	Sat Jul 14 18:34:06 2007 +0200
+++ b/tests/test-symlink-basic	Sun Jul 15 14:09:56 2007 +0200
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+"$TESTDIR/hghave" symlink || exit 80
+
 cleanpath()
 {
     sed -e "s:/.*\(/test-symlink-basic/.*\):...\1:"
--- a/tests/test-symlink-root	Sat Jul 14 18:34:06 2007 +0200
+++ b/tests/test-symlink-root	Sun Jul 15 14:09:56 2007 +0200
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+"$TESTDIR/hghave" symlink || exit 80
+
 hg init a
 ln -s a link
 cd a
--- a/tests/test-symlinks	Sat Jul 14 18:34:06 2007 +0200
+++ b/tests/test-symlinks	Sun Jul 15 14:09:56 2007 +0200
@@ -2,6 +2,8 @@
 #Test bug regarding symlinks that showed up in hg 0.7
 #Author: Matthew Elder <sseses@gmail.com>
 
+"$TESTDIR/hghave" symlink || exit 80
+
 #make and initialize repo
 hg init test; cd test;