Blame test/pamdice-roundtrip.test
|
Packit |
78deda |
#! /bin/bash
|
|
Packit |
78deda |
# This script tests: pamdice pamundice
|
|
Packit |
78deda |
# Also requires:
|
|
Packit |
78deda |
|
|
Packit |
78deda |
|
|
Packit |
78deda |
tmpdir=${tmpdir:-/tmp}
|
|
Packit |
78deda |
fname_stem=${tmpdir}/a
|
|
Packit |
78deda |
|
|
Packit |
78deda |
pamdice testimg.ppm -outstem=${fname_stem} -width=50 -height=40
|
|
Packit |
78deda |
pamundice ${fname_stem}_%1d_%1a.ppm -down=4 -across=5 | cksum
|
|
Packit |
78deda |
|
|
Packit |
78deda |
rm ${fname_stem}_?_?.ppm
|