about summary refs log tree commit diff
path: root/test/pgmhist.test
blob: 42666fbfbf579e607b47227a55c7828297805759 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/bash
# This script tests: pgmhist
# Also requires: pgmramp


# 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/ *$//'