about summary refs log tree commit diff
path: root/test/stdin-ppm1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdin-ppm1.test')
-rwxr-xr-xtest/stdin-ppm1.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/stdin-ppm1.test b/test/stdin-ppm1.test
index 67d5da49..84614326 100755
--- a/test/stdin-ppm1.test
+++ b/test/stdin-ppm1.test
@@ -30,8 +30,9 @@ for testprog in  \
   do
   ${testprog} ${test_ppm} > ${out1};      status1=$?
   ${testprog} < ${test_ppm} > ${out2};    status2=$?
+  test -s ${out1};                        status3=$?
   cmp -s ${out1} ${out2}
-  echo ${testprog}": "${status1} ${status2} $?
+  echo ${testprog}": "${status1} ${status2} ${status3} $?
   rm ${out1} ${out2}
   done