about summary refs log tree commit diff
path: root/test/pamdice-roundtrip.test
blob: 06fef8b2f7104c9bd0c120733b8408bc8ebefeb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
#! /bin/bash
# This script tests: pamdice pamundice
# Also requires: 

${PBM_TESTPREFIX}pamdice testimg.ppm -outstem=${tmpdir}/a -width=50 -height=40
${PBM_TESTPREFIX}pamundice ${tmpdir}/a_%1d_%1a.ppm -down=4 -across=5 | cksum

rm ${tmpdir}/a_?_?.ppm