diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-03-29 23:07:03 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-03-29 23:07:03 +0000 |
commit | dd2bedb00517b296115cc56a66300194ab9a25d9 (patch) | |
tree | 7a68e60481770e1d0dd7d03c229d96d42cd93e13 /test/sbig-roundtrip.test | |
parent | 04c4c8a3ce3ccb391877c25039c52a1a9cc07bd4 (diff) | |
download | netpbm-mirror-dd2bedb00517b296115cc56a66300194ab9a25d9.tar.gz netpbm-mirror-dd2bedb00517b296115cc56a66300194ab9a25d9.tar.xz netpbm-mirror-dd2bedb00517b296115cc56a66300194ab9a25d9.zip |
Release 10.70.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2442 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/sbig-roundtrip.test')
-rwxr-xr-x | test/sbig-roundtrip.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/sbig-roundtrip.test b/test/sbig-roundtrip.test new file mode 100755 index 00000000..7a339470 --- /dev/null +++ b/test/sbig-roundtrip.test @@ -0,0 +1,12 @@ +#! /bin/bash +# This script tests: pgmtosbig sbigtopgm +# Also requires: pamchannel + + alias sbigtopgm="${PBM_TESTPREFIX}sbigtopgm" + alias pgmtosbig="${PBM_TESTPREFIX}pgmtosbig" + shopt -s expand_aliases + +# Should produce 1571496937 33838, cksum of testimg.red + +pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ + pgmtosbig | sbigtopgm | cksum |