X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/13725744fde97fd9e511adb118ee2c9389116243..a055dbdd883a3c04318e13211c3ef7942314bee7:/testsuite/chmod-temp-dir.test diff --git a/testsuite/chmod-temp-dir.test b/testsuite/chmod-temp-dir.test index 5fda2b12..0768f185 100644 --- a/testsuite/chmod-temp-dir.test +++ b/testsuite/chmod-temp-dir.test @@ -2,7 +2,7 @@ # Copyright (C) 2004 by Wayne Davison -# This program is distributable under the terms of the GNU GPL see +# This program is distributable under the terms of the GNU GPL (see # COPYING). # Test that various read-only and set[ug]id permissions work properly, @@ -11,11 +11,12 @@ . "$suitedir/rsync.fns" -set -x - 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