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.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/avs-roundtrip.test b/test/avs-roundtrip.test
new file mode 100755
index 00000000..042ce91e
--- /dev/null
+++ b/test/avs-roundtrip.test
@@ -0,0 +1,8 @@
+#! /bin/bash
+# This script tests: pamtoavs avstopam
+# Also requires: pamtopnm
+
+
+# Should produce 1926073387 101484, cksum of testimg.ppm
+pamtoavs testimg.ppm | \
+  avstopam | pamtopnm | cksum