diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-03-27 23:20:22 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-03-27 23:20:22 +0000 |
commit | 772c4792d998deb70f1719c1a2ad82f2defde5f0 (patch) | |
tree | f512ff95f5e767aa5bb1655caa0aaf87063a624a /test/pamvalidate.test | |
parent | f336dfc59346a26a045f7e0df0ecba32d904c55e (diff) | |
download | netpbm-mirror-772c4792d998deb70f1719c1a2ad82f2defde5f0.tar.gz netpbm-mirror-772c4792d998deb70f1719c1a2ad82f2defde5f0.tar.xz netpbm-mirror-772c4792d998deb70f1719c1a2ad82f2defde5f0.zip |
Promote Development release to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4318 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamvalidate.test')
-rwxr-xr-x | test/pamvalidate.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/pamvalidate.test b/test/pamvalidate.test index 4cabc7df..708197da 100755 --- a/test/pamvalidate.test +++ b/test/pamvalidate.test @@ -1,20 +1,20 @@ -#! /bin/bash +#! /bin/sh # This script tests: pamvalidate # Also requires: echo "valid" -echo -e "P1\n5 5\n01010\n10101\n01010\n00000\n11111\n" | pamvalidate -plain +printf "P1\n5 5\n01010\n10101\n01010\n00000\n11111\n" | pamvalidate -plain echo "not valid: Should print 0 four times" -echo -e "P1\n5 5\n01010\n10101\n01010\n00000\n1111\n" | pamvalidate | \ +printf "P1\n5 5\n01010\n10101\n01010\n00000\n1111\n" | pamvalidate | \ wc -c | tr -d ' ' -echo -e "P1\n5 5\n01010\n10102\n01010\n00001\n11111\n" | pamvalidate | \ +printf "P1\n5 5\n01010\n10102\n01010\n00001\n11111\n" | pamvalidate | \ wc -c | tr -d ' ' -echo -e "P1\n5\n01010\n10101\n01010\n00000\n11111\n" | pamvalidate | \ +printf "P1\n5\n01010\n10101\n01010\n00000\n11111\n" | pamvalidate | \ wc -c | tr -d ' ' -echo -e "P1\n5 5" | pamvalidate | wc -c | tr -d ' ' +printf "P1\n5 5" | pamvalidate | wc -c | tr -d ' ' |