diff options
Diffstat (limited to 'test/pamvalidate.test')
-rwxr-xr-x | test/pamvalidate.test | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/pamvalidate.test b/test/pamvalidate.test index 46dd1bfa..4cabc7df 100755 --- a/test/pamvalidate.test +++ b/test/pamvalidate.test @@ -6,12 +6,15 @@ echo "valid" echo -e "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 | wc -c +echo -e "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 | wc -c +echo -e "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 | wc -c +echo -e "P1\n5\n01010\n10101\n01010\n00000\n11111\n" | pamvalidate | \ + wc -c | tr -d ' ' -echo -e "P1\n5 5" | pamvalidate | wc -c +echo -e "P1\n5 5" | pamvalidate | wc -c | tr -d ' ' |