diff tests/test-largefiles.t @ 16908:6a997aacba5d

tests: convert some 'hghave symlink' to #if This will enable some tests for windows.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 10 Jun 2012 18:50:42 +0200
parents 3f1a153daadb
children 79902f7e27df
line wrap: on
line diff
--- a/tests/test-largefiles.t	Sun Jun 10 18:50:42 2012 +0200
+++ b/tests/test-largefiles.t	Sun Jun 10 18:50:42 2012 +0200
@@ -1,4 +1,4 @@
-  $ "$TESTDIR/hghave" symlink unix-permissions serve || exit 80
+  $ "$TESTDIR/hghave" unix-permissions serve || exit 80
   $ USERCACHE=`pwd`/cache; export USERCACHE
   $ mkdir -p ${USERCACHE}
   $ cat >> $HGRCPATH <<EOF
@@ -1051,6 +1051,8 @@
   $ chmod -R u+w alice/pubrepo
   $ HOME="$ORIGHOME"
 
+#if symlink
+
 Symlink to a large largefile should behave the same as a symlink to a normal file
   $ hg init largesymlink
   $ cd largesymlink
@@ -1076,6 +1078,8 @@
   $ test -L largelink
   $ cd ..
 
+#endif
+
 test for pattern matching on 'hg status':
 to boost performance, largefiles checks whether specified patterns are
 related to largefiles in working directory (NOT to STANDIN) or not.