From: Wayne Davison Date: Fri, 10 Apr 2009 15:19:16 +0000 (-0700) Subject: Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/a055dbdd883a3c04318e13211c3ef7942314bee7?ds=sidebyside Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests. --- diff --git a/testsuite/chmod-temp-dir.test b/testsuite/chmod-temp-dir.test index e5e6a84f..0768f185 100644 --- a/testsuite/chmod-temp-dir.test +++ b/testsuite/chmod-temp-dir.test @@ -13,7 +13,10 @@ 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