X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=47f434482c98258f7bfa77fe34abeb82232091c3;hb=b767eae48831153473226b985511c8f7a3ef98c5;hp=3fa04e8e2dfd1a42d0f0bb60355be33c01d132b1;hpb=63fcb94b875a97e468d9add229e220ecceec2352;p=sbcl.git diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index 3fa04e8..47f4344 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -13,17 +13,22 @@ # 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} <