blob: 19ebd40a2b42deae51c93723974c35ff459550f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/sh
# This script tests: pamlookup pamunlookup
# Also requires: ppmhist
tmpdir=${tmpdir:-/tmp}
mapfile=${tmpdir}/mapfile
ppmhist testimg.ppm -map > ${mapfile}
# Test. Should produce 1926073387 101484
pamunlookup -lookupfile=${mapfile} testimg.ppm |\
pamlookup -lookupfile=${mapfile} | cksum
rm ${mapfile}
|