From: Wayne Davison Date: Sun, 9 Jan 2022 19:40:41 +0000 (-0800) Subject: Allow someone to specify scratchbase=FOO for runtests.sh. X-Git-Tag: v3.2.4pre2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b985123d2ebae4d9950585a717067beb10fd4b5f;p=thirdparty%2Frsync.git Allow someone to specify scratchbase=FOO for runtests.sh. --- diff --git a/runtests.sh b/runtests.sh index e0236c9e..5c204dc9 100755 --- a/runtests.sh +++ b/runtests.sh @@ -238,7 +238,7 @@ failed=0 # failure to aid investigation. We don't remove the testtmp subdir at # the end so that it can be configured as a symlink to a filesystem that # has ACLs and xattr support enabled (if desired). -scratchbase="$TOOLDIR"/testtmp +scratchbase="${scratchbase:-$TOOLDIR}"/testtmp echo " scratchbase=$scratchbase" [ -d "$scratchbase" ] || mkdir "$scratchbase"