diff options
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 |