about summary refs log tree commit diff
path: root/test/pgmhist.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pgmhist.test')
-rwxr-xr-xtest/pgmhist.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/pgmhist.test b/test/pgmhist.test
index b5e7ef7d..b3361dc4 100755
--- a/test/pgmhist.test
+++ b/test/pgmhist.test
@@ -2,5 +2,10 @@
 # This script tests: pgmhist
 # Also requires: pgmramp
 
-${PBM_BINPREFIX}pgmramp -maxval=8 -lr 8 2 | ${PBM_TESTPREFIX}pgmhist
-${PBM_TESTPREFIX}pgmhist testgrid.pbm
\ No newline at end of file
+# Ignore differences in spaces.
+
+${PBM_BINPREFIX}pgmramp -maxval=8 -lr 8 2 | ${PBM_TESTPREFIX}pgmhist | \
+  sed -e 's/  */ /g' -e 's/ *$//'
+
+${PBM_TESTPREFIX}pgmhist testgrid.pbm | \
+  sed -e 's/  */ /g' -e 's/ *$//'
\ No newline at end of file