about summary refs log tree commit diff
path: root/test/pamtopam.test
blob: 1a4cdff6cb2aa8cd298802632b888853d137b523 (plain) (blame)
1
2
3
4
5
6
7
8
9
#! /bin/bash
# This script tests: pamtopam
# Also requires: 

${PBM_TESTPREFIX}pamtopam < testimg.ppm  | sed '/ENDHDR/q'
${PBM_TESTPREFIX}pamtopam < testgrid.pbm | sed '/ENDHDR/q'

${PBM_TESTPREFIX}pamtopam < testimg.ppm   | cksum
${PBM_TESTPREFIX}pamtopam < testgrid.pbm  | cksum