about summary refs log tree commit diff
path: root/test/xv-roundtrip.test
diff options
context:
space:
mode:
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