From a055dbdd883a3c04318e13211c3ef7942314bee7 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 10 Apr 2009 08:19:16 -0700 Subject: [PATCH] Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests. --- testsuite/chmod-temp-dir.test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.34.1