about summary refs log tree commit diff
path: root/test/avs-roundtrip.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/avs-roundtrip.test')
-rwxr-xr-xtest/avs-roundtrip.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/avs-roundtrip.test b/test/avs-roundtrip.test
new file mode 100755
index 00000000..33f9e581
--- /dev/null
+++ b/test/avs-roundtrip.test
@@ -0,0 +1,7 @@
+#! /bin/bash
+# This script tests: pamtoavs avstopam
+# Also requires: pamtopnm
+
+# Should produce 1926073387 101484, cksum of testimg.ppm
+${PBM_TESTPREFIX}pamtoavs testimg.ppm | \
+  ${PBM_TESTPREFIX}avstopam | ${PBM_BINPREFIX}pamtopnm | cksum