blob: 491294a2b5960dda654710f2506e64890e76a6d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/bash
# 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}
|