Fix I/O redirection of script.test.sh
authorDavid Lichteblau <david@lichteblau.com>
Fri, 2 Sep 2011 19:30:25 +0000 (21:30 +0200)
committerDavid Lichteblau <david@lichteblau.com>
Fri, 2 Sep 2011 19:40:28 +0000 (21:40 +0200)
With this fix, "run-tests.sh | tee" passes again on Linux.
Thanks to Fare Rideau for the report.

tests/script.test.sh

index 19fcc5f..9b7e104 100644 (file)
@@ -42,9 +42,9 @@ cat > $tmpscript <<EOF
 (close *standard-output*)
 (sb-ext:quit :unix-status 3)
 EOF
-run_sbcl --script $tmpscript
+run_sbcl --script $tmpscript >/dev/null
 check_status_maybe_lose "--script exit status from QUIT when stdout closed" $? 3 "(as given)"
-run_sbcl --load $tmpscript
+run_sbcl --load $tmpscript >/dev/null
 check_status_maybe_lose "--load exit status from QUIT when stdout closed" $? 3 "(as given)"
 
 cat > $tmpscript <<EOF