Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests.
authorWayne Davison <wayned@samba.org>
Fri, 10 Apr 2009 15:19:16 +0000 (08:19 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 13 Dec 2009 01:19:59 +0000 (17:19 -0800)
testsuite/chmod-temp-dir.test

index e5e6a84f675370fc9db8eaa4dca361dbc32a828f..0768f1857e1d917dc75663304454604c1227bd1c 100644 (file)
 
 hands_setup
 
-tmpdir2=/tmp
+tmpdir2=$RSYNC_TEST_TMP
+if [ x"$tmpdir2" = x ]; then
+    tmpdir2=/tmp
+fi
 sdev=`$TOOLDIR/getfsdev $scratchdir`
 tdev=`$TOOLDIR/getfsdev $tmpdir2`
 if [ x$sdev = x$tdev ]; then