0.7.9.1:
[sbcl.git] / tests / run-program.test.sh
index 12d9fa4..788c0f5 100644 (file)
 
 # Make sure that there's at least something in the environment (for
 # one of the tests below).
-export SOMETHING_IN_THE_ENVIRONMENT='yes there is'
+SOMETHING_IN_THE_ENVIRONMENT='yes there is'
+export SOMETHING_IN_THE_ENVIRONMENT
 
-sbcl="$1"
-
-$sbcl <<EOF
+${SBCL:-sbcl} <<EOF
   (let ((string (with-output-to-string (stream)
                   (sb-ext:run-program "/bin/echo"
                                       '("foo" "bar")
@@ -59,16 +58,5 @@ if [ $? != 52 ]; then
     exit 1
 fi
 
-# known bugs:
-#
-#   sbcl-0.6.8:
-#
-#     (SB-EXT:RUN-PROGRAM "echo" NIL)
-#     => error in function SB-IMPL::%ENUMERATE-SEARCH-LIST:
-#        Undefined search list: path
-#
-#     (SB-EXT:RUN-PROGRAM "/bin/uname" '("-a") :OUTPUT :STREAM)
-#     doesn't return a STREAM (the way doc string claims)
-
 # success convention
 exit 104