# 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