blob: 32b18189ddf39a28748a445f652eb13ab0b75a93 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#! /bin/bash
# This script tests: pgmhist
# Also requires: pgmramp
alias pgmhist="${PBM_TESTPREFIX}pgmhist"
alias pgmramp="${PBM_BINPREFIX}pgmramp"
shopt -s expand_aliases
# Ignore differences in spaces.
pgmramp -maxval=8 -lr 8 2 | pgmhist | \
sed -e 's/ */ /g' -e 's/ *$//'
pgmhist testgrid.pbm | \
sed -e 's/ */ /g' -e 's/ *$//'
|