about summary refs log tree commit diff
path: root/test/pnmtile.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pnmtile.test')
-rwxr-xr-xtest/pnmtile.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pnmtile.test b/test/pnmtile.test
index b0c14ca6..0f9d91df 100755
--- a/test/pnmtile.test
+++ b/test/pnmtile.test
@@ -7,6 +7,7 @@ ${PBM_TESTPREFIX}pnmtile 40 50 testgrid.pbm | cksum
 ${PBM_TESTPREFIX}pnmtile 454 298 testimg.ppm > ${tmpdir}/testimg4.ppm &&
 ${PBM_BINPREFIX}pnmcat -lr testimg.ppm testimg.ppm > ${tmpdir}/testimg2.ppm &&
 ${PBM_BINPREFIX}pnmcat -tb ${tmpdir}/testimg2.ppm ${tmpdir}/testimg2.ppm | \
-diff - ${tmpdir}/testimg4.ppm && echo $?
+cmp -s - ${tmpdir}/testimg4.ppm
+echo $?
 
 rm ${tmpdir}/testimg{2,4}.ppm