File tree 5 files changed +16
-0
lines changed
5 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ rgb3-roundtrip.test
102
102
ppmchange-roundtrip.test
103
103
pamdice-roundtrip.test
104
104
pamslice-roundtrip.test
105
+ lookup-roundtrip.test
105
106
106
107
# Round-trip tests : lossless converters
107
108
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ pamtouil: ok
104
104
pamtowinicon: ok
105
105
pamtoxvmini: ok
106
106
pamundice: ok
107
+ pamunlookup: ok
107
108
pamvalidate: ok
108
109
pamwipeout: ok
109
110
pamx: ok
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ ordinary_testprogs="\
143
143
pamtowinicon \
144
144
pamtoxvmini \
145
145
pamundice \
146
+ pamunlookup \
146
147
pamvalidate \
147
148
pamwipeout \
148
149
pamx \
Original file line number Diff line number Diff line change
1
+ 1926073387 101484
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This script tests: pamlookup pamunlookup
3
+ # Also requires: ppmhist
4
+
5
+ tmpdir=${tmpdir:-/ tmp}
6
+ mapfile=${tmpdir} /mapfile
7
+
8
+ ppmhist testimg.ppm -map > ${mapfile}
9
+
10
+ # Test. Should produce 1926073387 101484
11
+ pamunlookup -lookupfile=${mapfile} testimg.ppm | \
12
+ pamlookup -lookupfile=${mapfile} | cksum
You can’t perform that action at this time.
0 commit comments