about summary refs log tree commit diff
path: root/test/pamundice.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-08-09 23:18:52 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-08-09 23:18:52 +0000
commit5d0092ff7809ce7ff3d8102f33a4506fe37d3a67 (patch)
treeca05b02da679170a120eacd3492fdda71b27d7ec /test/pamundice.test
parentc864f925a6e830240e474e936e13444fc127185a (diff)
downloadnetpbm-mirror-5d0092ff7809ce7ff3d8102f33a4506fe37d3a67.tar.gz
netpbm-mirror-5d0092ff7809ce7ff3d8102f33a4506fe37d3a67.tar.xz
netpbm-mirror-5d0092ff7809ce7ff3d8102f33a4506fe37d3a67.zip
Use new 'pamcat' instead of 'pnmcat' where possible
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4402 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamundice.test')
-rwxr-xr-xtest/pamundice.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pamundice.test b/test/pamundice.test
index 604fe1b8..20a84503 100755
--- a/test/pamundice.test
+++ b/test/pamundice.test
@@ -1,6 +1,6 @@
 #! /bin/sh
 # This script tests: pamundice
-# Also requires: pamfile pgmmake pnmtile pnmcat
+# Also requires: pamfile pgmmake pnmtile pamcat
 
 tmpdir=${tmpdir:-/tmp}
 fname_stem=${tmpdir}/part
@@ -28,7 +28,7 @@ for y in 0 1 2 3 4
   pamundice -across=3 ${fname_stem}"_"$y"_%1a".pgm > ${tempfile}_"$y"
   done
 
-pnmcat -tb ${tempfile}_[01234] | cksum
+pamcat -tb ${tempfile}_[01234] | pamtopnm --assume | cksum
 rm ${tempfile}_[01234]
 
 # Note: the following 2 are valid.  There should not be warning messages.
@@ -38,7 +38,7 @@ for x in 0 1 2
   pamundice -down=5 ${fname_stem}"_%1d_"$x.pgm > ${tempfile}"_"$x
   done
 
-pnmcat -lr ${tempfile}_[012] | cksum
+pamcat -lr ${tempfile}_[012] | pamtopnm --assume | cksum
 rm ${tempfile}_[012]
 
 rm ${fname_stem}_?_?.pgm