X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=6b5a7cd243c903400ef9e8a4d619786309fc0411;hb=9514c25e89aad10784c6d04fea4595d8c8ae68cc;hp=cdab547df2b89994c2a1ca01e0348a3395447d66;hpb=f0338f6fa732b21daa4405e19465bd460e0526d9;p=sbcl.git diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index cdab547..6b5a7cd 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -13,13 +13,15 @@ # 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 ld -shared -o $testfilestem.so $testfilestem.o ${SBCL:-sbcl} <