Allow someone to specify scratchbase=FOO for runtests.sh.

This commit is contained in:
Wayne Davison
2022-01-09 11:40:41 -08:00
parent c983279020
commit b985123d2e

View File

@@ -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"