X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fsubr.sh;h=333ffb66a6b2a3c69152547ae331c0ce67626e4d;hb=fb24d88c8f97f1b344addab398fc54f62d8aa4ce;hp=eaa86fa94328116a13be1e22ea4dcbbf2a8fc13b;hpb=a42922aef908a1b45ae5420d51b2ca7ee1bafb9e;p=sbcl.git diff --git a/tests/subr.sh b/tests/subr.sh index eaa86fa..333ffb6 100644 --- a/tests/subr.sh +++ b/tests/subr.sh @@ -32,8 +32,9 @@ SBCL_RUNTIME="$SBCL_PWD/../src/runtime/sbcl" SBCL_ARGS="--noinform --no-sysinit --no-userinit --noprint --disable-debugger" # Scripts that use these variables should quote them. -TEST_BASENAME="$(basename $0)" -TEST_FILESTEM="$(echo ${TEST_BASENAME%.sh} | sed 's/\./-/g')" +TEST_BASENAME="`basename $0`" +TEST_FILESTEM="`basename "${TEST_BASENAME}" | sed 's/\.sh$//'`" +TEST_FILESTEM="`echo "${TEST_FILESTEM}" | sed 's/\./-/g'`" TEST_DIRECTORY="$SBCL_PWD/$TEST_FILESTEM-$$" # "Ten four" is the closest numerical slang I can find to "OK", so