diff tests/test-largefiles.t @ 16986:79902f7e27df

tests: convert some hghave unix-permissions to #if
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 19 Jun 2012 01:43:41 +0200
parents 6a997aacba5d
children 953faba28e91
line wrap: on
line diff
--- a/tests/test-largefiles.t	Tue Jun 19 00:20:38 2012 +0200
+++ b/tests/test-largefiles.t	Tue Jun 19 01:43:41 2012 +0200
@@ -1,4 +1,4 @@
-  $ "$TESTDIR/hghave" unix-permissions serve || exit 80
+  $ "$TESTDIR/hghave" serve || exit 80
   $ USERCACHE=`pwd`/cache; export USERCACHE
   $ mkdir -p ${USERCACHE}
   $ cat >> $HGRCPATH <<EOF
@@ -1018,6 +1018,8 @@
 used all HGPORTs, kill all daemons
   $ "$TESTDIR/killdaemons.py"
 
+#if unix-permissions
+
 Clone a local repository owned by another user
 We have to simulate that here by setting $HOME and removing write permissions
   $ ORIGHOME="$HOME"
@@ -1051,6 +1053,8 @@
   $ chmod -R u+w alice/pubrepo
   $ HOME="$ORIGHOME"
 
+#endif
+
 #if symlink
 
 Symlink to a large largefile should behave the same as a symlink to a normal file