about summary refs log tree commit diff
path: root/test/facesaver-roundtrip.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/facesaver-roundtrip.test')
-rwxr-xr-xtest/facesaver-roundtrip.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/facesaver-roundtrip.test b/test/facesaver-roundtrip.test
new file mode 100755
index 00000000..410ba897
--- /dev/null
+++ b/test/facesaver-roundtrip.test
@@ -0,0 +1,8 @@
+#! /bin/bash
+# This script tests: pgmtofs fstopgm
+# Also requires: ppmtopgm
+
+# Should produce 2871603838 33838, cksum of testimg.pgm
+
+${PBM_BINPREFIX}ppmtopgm testimg.ppm | \
+  ${PBM_TESTPREFIX}pgmtofs | ${PBM_TESTPREFIX}fstopgm | cksum
\ No newline at end of file