X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6c05543cb03b40b9728f7073c4073ce993d796c6..d2e3c807dce62e70b2ccdaa86c8190b2661a45b4:/examples/test diff --git a/examples/test b/examples/test index d320a288..6d2b96e6 100755 --- a/examples/test +++ b/examples/test @@ -54,9 +54,9 @@ run () # Expected output. local out_exp=$1 shift - $prog "$@" - out_eff # Effective exit status. - local sta_eff=$? + local sta_eff=0 + $prog "$@" - out_eff || sta_eff=$? # Effective output. local out_eff=`cat out_eff` if test $sta_eff -eq $sta_exp; then