Commit f8997cd4 authored by simonmar's avatar simonmar
Browse files

[project @ 1999-11-16 11:32:09 by simonmar]

Couple of fixes for -accept-output.
parent 1c454a05
......@@ -220,7 +220,7 @@ else
myexit=\$?
diffsShown=1
fi
if [ $SaveStdout = 1 ] && [ \$progexit = $PgmExitStatus ] &&
if [ $SaveStdout = 1 ] &&
[ $PgmStdoutFile[0] != $DefaultStdoutFile ] && [ -s $TmpPrefix/runtest$$.1 ]; then
echo Saving away stdout output in $PgmStdoutFile[0] ...
if [ -f $PgmStdoutFile[0] ]; then
......@@ -248,7 +248,7 @@ if [ \$hit = 'NO' ] ; then
myexit=\$?
diffsShown=1
fi
if [ $SaveStderr = 1 ] && [ \$progexit = $PgmExitStatus ] &&
if [ $SaveStderr = 1 ] &&
[ $PgmStderrFile[0] != $DefaultStderrFile ] && [ -s $TmpPrefix/runtest$$.2 ]; then
echo Saving away stderr output in $PgmStderrFile[0] ...
if [ -f $PgmStderrFile[0] ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment