X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fthreads.test.sh;h=f266944b5d91bd10c86375857b0babd27798dd5a;hb=5cf3c4259d529e180d75d4d140f344e600d2b06b;hp=9ca386ea3f30dfb334b221924a0f26dd40046fc0;hpb=17c3cee2f470fab2dd332cf9d5f63d7c572bd5a0;p=sbcl.git diff --git a/tests/threads.test.sh b/tests/threads.test.sh index 9ca386e..f266944 100644 --- a/tests/threads.test.sh +++ b/tests/threads.test.sh @@ -11,10 +11,16 @@ # absolutely no warranty. See the COPYING and CREDITS files for # more information. +. ./subr.sh +use_test_subdirectory + flag="condition-wait-sigcont.tmp" touch $flag -$SBCL --load condition-wait-sigcont.lisp & +# $! is not set correctly when calling run_sbcl, do it directly +"$SBCL_RUNTIME" --core "$SBCL_CORE" \ + --no-userinit --no-sysinit --disable-debugger \ + --load "$SBCL_PWD/condition-wait-sigcont.lisp" & sb_pid=$! while [ -f $flag ]; do sleep 1; done