about summary refs log tree commit diff
path: root/test/411toppm.test
blob: ce374f291b23035fb7e7c734b792f0d086b1ddf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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