X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d15f2ff0cf372be49d57b1d7884557ddbe1a4d9c..dfcb3865698eb380ccfff689880f7fc4e2638331:/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