X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=6b5a7cd243c903400ef9e8a4d619786309fc0411;hb=bed279acc9bd04eb1bbf56acb0dcaa3b1acf04f0;hp=ae735b22a2e42c5c415c8dcfa409f925ab743be3;hpb=53e7a02c819090af8e6db7e47d29cdbb5296814f;p=sbcl.git diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index ae735b2..6b5a7cd 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -13,15 +13,15 @@ # absolutely no warranty. See the COPYING and CREDITS files for # more information. -sbcl="$1" - -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 ld -shared -o $testfilestem.so $testfilestem.o -$sbcl <