X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c395acd8046a0dc8be3df095ce7c1e9fbf48864b..565a340b0a275faeff7b434ccf8bab98ff0d073d:/runtests.sh diff --git a/runtests.sh b/runtests.sh index 286f0c5d..ad93862c 100755 --- a/runtests.sh +++ b/runtests.sh @@ -221,7 +221,7 @@ suitedir="$srcdir/testsuite" export scratchdir suitedir prep_scratch() { - [ -d "$scratchdir" ] && rm -rf "$scratchdir" + [ -d "$scratchdir" ] && chmod -R u+rwX "$scratchdir" && rm -rf "$scratchdir" mkdir "$scratchdir" # Get rid of default ACLs and dir-setgid to avoid confusing some tests. $setfacl_nodef "$scratchdir" || true