about summary refs log tree commit diff
path: root/test/411toppm.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-12 03:43:47 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-12 03:43:47 +0000
commitccfc548cc8507b16397f674cbb0a8911781e27b4 (patch)
treec944ab1e10abc33fb12cc479dabe0708bbbf224e /test/411toppm.test
parenta72930bd1433b10c43def3be55c02c53264b4a43 (diff)
downloadnetpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.tar.gz
netpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.tar.xz
netpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.zip
various changes to test facility
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1806 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/411toppm.test')
-rwxr-xr-xtest/411toppm.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/411toppm.test b/test/411toppm.test
new file mode 100755
index 00000000..ce374f29
--- /dev/null
+++ b/test/411toppm.test
@@ -0,0 +1,12 @@
+#! /bin/bash
+# This script tests: 411toppm
+# Also requires: 
+
+# Test 1. should produce: 240376509 9229
+# The above value is what 411toppm has been always producing.
+# 411toppm's author Steve Allen says he was not able to obtain accurate
+# specifications for the .411 format.  Technically, the above can change.
+#
+# See comment at head of source file 411toppm.c.
+
+head -c 4608 /dev/zero | ${PBM_TESTPREFIX}411toppm -quiet | cksum