diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-03-12 21:30:37 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-03-12 21:30:37 +0000 |
commit | 12fb730de9ce241bbb9f5accaf3ef7378d7f310d (patch) | |
tree | 9e343f0d57324a5e74f66ccb34d65be2f4e571a8 /test/stdin-ppm1.test | |
parent | 35631a7b3e08c1eedfe91c32be9a0a93effa07eb (diff) | |
download | netpbm-mirror-12fb730de9ce241bbb9f5accaf3ef7378d7f310d.tar.gz netpbm-mirror-12fb730de9ce241bbb9f5accaf3ef7378d7f310d.tar.xz netpbm-mirror-12fb730de9ce241bbb9f5accaf3ef7378d7f310d.zip |
New stdin tests; test whether output is actually produced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4305 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/stdin-ppm1.test')
-rwxr-xr-x | test/stdin-ppm1.test | 3 |
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 |