about summary refs log tree commit diff
path: root/test/pbm-misc-converters.test
blob: 93773e48597a3bbe32d680d8af2be0a699cdb432 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#! /bin/sh
# This script tests: pbmto10x pbmto4425 pbmtoascii pbmtobbnbg
# This script tests: pbmtodjvurle pbmtoepson pbmtogo pbmtoibm23xx
# This script tests: pbmtolj pbmtoln03 pbmtomatrixorbital pbmtonokia
# This script tests: pbmtoplot pbmtoptx pbmtozinc
# Also requires: pbmpage pbmtoppa

# Note: one-way test.
# These converters do not have counterparts that work in the opposite
# direction.  We check whether the output is unchanged from older
# versions.

pbmto10x             maze.pbm | cksum
pbmto4425            maze.pbm | cksum
pbmtoascii           maze.pbm | cksum
pbmtoascii -2x4      maze.pbm | cksum
pbmtobbnbg         < maze.pbm | cksum
pbmtodjvurle         maze.pbm | cksum
pbmtoepson           maze.pbm | cksum
pbmtoepson -protocol=escp   maze.pbm | cksum
pbmtoepson -protocol=escp9  maze.pbm | cksum
pbmtoepson -nonadjacent     maze.pbm | cksum
pbmtogo              maze.pbm | cksum
pbmtoibm23xx -xres=60 -yres=60 maze.pbm | cksum
pbmtolj              maze.pbm | cksum
pbmtolj  -packbits   maze.pbm | cksum
pbmtolj  -compress   maze.pbm | cksum
pbmtoln03            maze.pbm | cksum
pbmtomatrixorbital < maze.pbm | cksum
pbmtonokia -fmt HEX_NOL maze.pbm | cksum
pbmtonokia -fmt HEX_NGG maze.pbm | cksum
pbmtonokia -fmt HEX_NPM maze.pbm | cksum
pbmtonokia -fmt NOL  maze.pbm | cksum
pbmtonokia -fmt NGG  maze.pbm | cksum
pbmtonokia -fmt NPM  maze.pbm | cksum
pbmtoplot            maze.pbm | cksum
pbmtoptx             maze.pbm | cksum
pbmtozinc            maze.pbm | cksum

(pbmpage 1; pbmpage 2; pbmpage 3) | pbmtoppa | cksum