blob: 0f9d91df2eec3356bae4fa7e429290529b95aec3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /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 | \
cmp -s - ${tmpdir}/testimg4.ppm
echo $?
rm ${tmpdir}/testimg{2,4}.ppm
|