1.0.6.33: small CLOS cache improvements
[sbcl.git] / tests / init.test.sh
index a545d55..8f5f735 100644 (file)
@@ -25,6 +25,10 @@ $SBCL <<EOF
         sb-impl::*sysinit-pathname-function* 'custom-sysinit-pathname)
   (save-lisp-and-die "$tmpcore")
 EOF
+if [ $? != 0 ]; then
+    echo "failure saving core"
+    exit 1
+fi
 $SBCL_ALLOWING_CORE --core "$tmpcore" --disable-debugger <<EOF
   (userinit-quit (sysinit-21))
 EOF