about summary refs log tree commit diff
path: root/test/pbmmake.test
blob: eb4b472dbe9c5c1c45bc67e20b46b03ec075402f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/bash
# This script tests: pbmmake
# Also requires: 

  alias pbmmake="${PBM_TESTPREFIX}pbmmake"
  shopt -s expand_aliases

for i in `seq 1 8`
do
for color in -w -b -g
do
pbmmake -plain $color $i $i | tr -d '\n'; echo
done
done
for i in `seq 8 5 98`
do
 ( pbmmake -w $i $i ;
  pbmmake -b $i $i ;
  pbmmake  -g $i $i ) | cksum
done