X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=6b5a7cd243c903400ef9e8a4d619786309fc0411;hb=9514c25e89aad10784c6d04fea4595d8c8ae68cc;hp=0afbf39179098ee06301aef4425a0a9a78657542;hpb=d1c237164f9bd00879843cba7a79c05449cf50f7;p=sbcl.git diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index 0afbf39..6b5a7cd 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -13,7 +13,7 @@ # absolutely no warranty. See the COPYING and CREDITS files for # more information. -testfilestem=$TMPDIR/sbcl-foreign-test-$$ +testfilestem=${TMPDIR:-/tmp}/sbcl-foreign-test-$$ echo 'int summish(int x, int y) { return 1 + x + y; }' > $testfilestem.c make $testfilestem.o @@ -38,5 +38,7 @@ fi # rolling over in his grave.:-) It would be good to make a test case # for it.. +rm $testfilestem.* + # success convention for script exit 104