diff options
Diffstat (limited to 'test/pgmhist.test')
-rwxr-xr-x | test/pgmhist.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/pgmhist.test b/test/pgmhist.test new file mode 100755 index 00000000..42666fbf --- /dev/null +++ b/test/pgmhist.test @@ -0,0 +1,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/ *$//' |