about summary refs log tree commit diff
path: root/test/pbmtopgm.test
blob: 19378bb68f09f9d33a9b3d0cb1b5126aa05d88da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
# This script tests: pbmtopgm
# Also requires:

#Test 1
echo "Test 1"

pbmtopgm -plain 1 1 testgrid.pbm

echo "Test Invalid"

. ${srcdir}/test-invalid.inc

invCmd "pbmtopgm 5 0 testgrid.pbm"
invCmd "pbmtopgm 0 9 testgrid.pbm"
invCmd "pbmtopgm 15 5 testgrid.pbm"
invCmd "pbmtopgm 5 17 testgrid.pbm"