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-Tag: v3.1.0pre1~390 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a055dbdd883a3c04318e13211c3ef7942314bee7;p=thirdparty%2Frsync.git 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