changeset 4882:25d753efd48e

test-symlink-basic: require symlinks availability
author Patrick Mezard <pmezard@gmail.com>
date Sun, 15 Jul 2007 14:09:56 +0200
parents c51c9bc4579d
children 72ac66e88c43 2a01e03ffacd
files tests/test-symlink-basic tests/test-symlink-root tests/test-symlinks
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;