blob: b0c14ca64e106f970ca94d07e3b1acd579b094d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/bash
# This script tests: pnmtile
# Also requires: pnmcat
${PBM_TESTPREFIX}pnmtile 40 50 testgrid.pbm | cksum
${PBM_TESTPREFIX}pnmtile 454 298 testimg.ppm > ${tmpdir}/testimg4.ppm &&
${PBM_BINPREFIX}pnmcat -lr testimg.ppm testimg.ppm > ${tmpdir}/testimg2.ppm &&
${PBM_BINPREFIX}pnmcat -tb ${tmpdir}/testimg2.ppm ${tmpdir}/testimg2.ppm | \
diff - ${tmpdir}/testimg4.ppm && echo $?
rm ${tmpdir}/testimg{2,4}.ppm
|