From: Wayne Davison Date: Wed, 10 Jun 2020 20:58:43 +0000 (-0700) Subject: Make sure the tmpdir2 dir is writable. X-Git-Tag: v3.2.0pre1~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a61ffbafe5682b65d4a2a8846e9ec20298ba7e17;p=thirdparty%2Frsync.git Make sure the tmpdir2 dir is writable. --- diff --git a/testsuite/chmod-temp-dir.test b/testsuite/chmod-temp-dir.test index 1e05bcb5..085ab008 100644 --- a/testsuite/chmod-temp-dir.test +++ b/testsuite/chmod-temp-dir.test @@ -17,7 +17,7 @@ sdev=`$TOOLDIR/getfsdev $scratchdir` tdev=$sdev for tmpdir2 in "${RSYNC_TEST_TMP:-/override-tmp-not-specified}" /run/shm/tmp /var/tmp /tmp; do - [ -d "$tmpdir2" ] || continue + [ -d "$tmpdir2" -a -w "$tmpdir2" ] || continue tdev=`$TOOLDIR/getfsdev "$tmpdir2"` [ x$sdev != x$tdev ] && break done