X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=6b5a7cd243c903400ef9e8a4d619786309fc0411;hb=bed279acc9bd04eb1bbf56acb0dcaa3b1acf04f0;hp=0afbf39179098ee06301aef4425a0a9a78657542;hpb=416152f084604094445a758ff399871132dff2bd;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