X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fthreads.test.sh;h=cc2de115b0688c7b36aa20f521523af753fe33bc;hb=83659744f9caa97aa83eb562d872b1c0127403c0;hp=3d7a01a193ce9c9680bbd989d3af17a2bbc13901;hpb=c97e05b47236081529c73981b7624e0e0bb98fad;p=sbcl.git diff --git a/tests/threads.test.sh b/tests/threads.test.sh index 3d7a01a..cc2de11 100644 --- a/tests/threads.test.sh +++ b/tests/threads.test.sh @@ -11,10 +11,15 @@ # absolutely no warranty. See the COPYING and CREDITS files for # more information. +. ./subr.sh +use_test_subdirectory + flag="condition-wait-sigcont.tmp" touch $flag -../src/runtime/sbcl --core ../output/sbcl.core --load condition-wait-sigcont.lisp & +# $! is not set correctly when calling run_sbcl, do it directly +"$SBCL_RUNTIME" --core "$SBCL_CORE" $SBCL_ARGS \ + --load "$SBCL_PWD/condition-wait-sigcont.lisp" & sb_pid=$! while [ -f $flag ]; do sleep 1; done