about summary refs log tree commit diff
path: root/test/pnmtopnm-plain.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pnmtopnm-plain.test')
-rwxr-xr-xtest/pnmtopnm-plain.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pnmtopnm-plain.test b/test/pnmtopnm-plain.test
new file mode 100755
index 00000000..5b7e4b48
--- /dev/null
+++ b/test/pnmtopnm-plain.test
@@ -0,0 +1,10 @@
+#! /bin/bash
+# This script tests: pamtopnm
+# Also requires: pgmtopgm ppmtoppm
+
+pamtopnm -plain testgrid.pbm
+
+pgmtopgm < testgrid.pbm | pamtopnm -plain
+
+ppmtoppm < testgrid.pbm | pamtopnm -plain | \
+  head -n11