X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fscript.test.sh;h=6adfcf00d26ffa43bd61706094935f1008def847;hb=bcd323c39d6f5f80020ba4a5d9eb8d348c6cc499;hp=48da1039759a4ac6b76defe1898e0020f584c8f7;hpb=0338d1fc97a74b8ff332821ea275120b9de951c1;p=sbcl.git diff --git a/tests/script.test.sh b/tests/script.test.sh index 48da103..6adfcf0 100644 --- a/tests/script.test.sh +++ b/tests/script.test.sh @@ -29,9 +29,9 @@ check_status_maybe_lose "--script exit status from EXIT" $? 7 "(status good)" echo '(error "oops")' > $tmpscript run_sbcl --script $tmpscript 1> $tmpout 2> $tmperr check_status_maybe_lose "--script exit status from ERROR" $? 1 "(error implies 1)" -grep BACKTRACE $tmpout > /dev/null +grep Backtrace $tmpout > /dev/null check_status_maybe_lose "--script backtrace not to stdout" $? 1 "(ok)" -grep BACKTRACE $tmperr > /dev/null +grep Backtrace $tmperr > /dev/null check_status_maybe_lose "--script backtrace to stderr" $? 0 "(ok)" echo 'nil'> $tmpscript