projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sb-win32: offer low-level bindings for file mapping functions
[sbcl.git]
/
tests
/
subr.sh
diff --git
a/tests/subr.sh
b/tests/subr.sh
index
c0e67f8
..
333ffb6
100644
(file)
--- a/
tests/subr.sh
+++ b/
tests/subr.sh
@@
-33,7
+33,8
@@
SBCL_ARGS="--noinform --no-sysinit --no-userinit --noprint --disable-debugger"
# Scripts that use these variables should quote them.
TEST_BASENAME="`basename $0`"
# Scripts that use these variables should quote them.
TEST_BASENAME="`basename $0`"
-TEST_FILESTEM="`echo ${TEST_BASENAME%.sh} | sed 's/\./-/g'`"
+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
TEST_DIRECTORY="$SBCL_PWD/$TEST_FILESTEM-$$"
# "Ten four" is the closest numerical slang I can find to "OK", so