about summary refs log tree commit diff
path: root/test/411toppm.test
blob: 335cdcc8f4a433f99c33adee009c879c0d386b6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash
# This script tests: 411toppm
# Also requires: 

  alias 411toppm="${PBM_TESTPREFIX}411toppm"
  shopt -s expand_aliases

# 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 | 411toppm -quiet | cksum