--- 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