about summary refs log tree commit diff
path: root/test/sunicon-roundtrip.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-09-26 19:59:25 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-09-26 19:59:25 +0000
commitd77b3e8f164893762749f22f38bed0d13883905e (patch)
treee1fa32bd49bdc7c5e862aba30c0ca81a963ef658 /test/sunicon-roundtrip.test
parent6e879ff027c9019c964d15ae0e0c966fc7d1c7a8 (diff)
downloadnetpbm-mirror-d77b3e8f164893762749f22f38bed0d13883905e.tar.gz
netpbm-mirror-d77b3e8f164893762749f22f38bed0d13883905e.tar.xz
netpbm-mirror-d77b3e8f164893762749f22f38bed0d13883905e.zip
Update Advanced to 10.72
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2639 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/sunicon-roundtrip.test')
-rwxr-xr-xtest/sunicon-roundtrip.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/sunicon-roundtrip.test b/test/sunicon-roundtrip.test
new file mode 100755
index 00000000..a52fda68
--- /dev/null
+++ b/test/sunicon-roundtrip.test
@@ -0,0 +1,8 @@
+#! /bin/bash
+# This script tests: pbmtosunicon sunicontopnm
+# Also requires: pamcut
+
+# Width of Sun icons are multiples of 8.
+
+# Test.  Should print: 2425386270 41
+pbmtosunicon testgrid.pbm | sunicontopnm | pamcut 1 0 14 16 | cksum