diff options
Diffstat (limited to 'test/stdin-pgm1.test')
-rwxr-xr-x | test/stdin-pgm1.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/stdin-pgm1.test b/test/stdin-pgm1.test index 40376e88..f5980cdc 100755 --- a/test/stdin-pgm1.test +++ b/test/stdin-pgm1.test @@ -28,8 +28,9 @@ for testprog in \ do ${testprog} ${small_pgm} > ${out1}; status1=$? ${testprog} < ${small_pgm} > ${out2}; status2=$? + test -s ${out1}; status3=$? cmp -s ${out1} ${out2} - echo ${testprog}": "${status1} ${status2} $? + echo ${testprog}": "${status1} ${status2} ${status3} $? rm ${out1} ${out2} done |