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


tmpdir=${tmpdir:-/tmp}
fname_stem=${tmpdir}/a

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

rm ${fname_stem}_?_?.ppm