about summary refs log tree commit diff
path: root/test/xv-roundtrip.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-17 15:20:06 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-17 15:20:06 +0000
commit2b398bac6127e1512be09eca1e1d67559c32c7c6 (patch)
tree49df2874254b0fe7fb1b76c34b0d724e6e7277e6 /test/xv-roundtrip.test
parentdaf35c1b334b76ba0d66d872cf9fb50864bacba9 (diff)
downloadnetpbm-mirror-2b398bac6127e1512be09eca1e1d67559c32c7c6.tar.gz
netpbm-mirror-2b398bac6127e1512be09eca1e1d67559c32c7c6.tar.xz
netpbm-mirror-2b398bac6127e1512be09eca1e1d67559c32c7c6.zip
Add round-trip tests for 'xv', 'ppmtoarbtxt'; better cover compression scheme in macptoppm test
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2464 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/xv-roundtrip.test')
-rwxr-xr-xtest/xv-roundtrip.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/xv-roundtrip.test b/test/xv-roundtrip.test
new file mode 100755
index 00000000..d73933a1
--- /dev/null
+++ b/test/xv-roundtrip.test
@@ -0,0 +1,7 @@
+#! /bin/bash
+# This script tests: pamtoxvmini xvminitoppm
+# Also requires: pamdepth
+
+# Test.  Should print 2418728144 101484
+
+pamdepth 3 testimg.ppm | pamtoxvmini | xvminitoppm | cksum