diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-07-03 18:59:15 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-07-03 18:59:15 +0000 |
commit | aaf1a66284edff4e65d11ad8a4ba22b59c3d7a10 (patch) | |
tree | c02828d16e477c8b5739e4d2f2caa87dd6ef685c /test/pamcut.test | |
parent | 193fcba8c448bbf06cc91ed3f49bf22d947b59f7 (diff) | |
download | netpbm-mirror-aaf1a66284edff4e65d11ad8a4ba22b59c3d7a10.tar.gz netpbm-mirror-aaf1a66284edff4e65d11ad8a4ba22b59c3d7a10.tar.xz netpbm-mirror-aaf1a66284edff4e65d11ad8a4ba22b59c3d7a10.zip |
Don't use nonstandard echo -n
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4361 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamcut.test')
-rwxr-xr-x | test/pamcut.test | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/pamcut.test b/test/pamcut.test index 2299b4bc..a489635a 100755 --- a/test/pamcut.test +++ b/test/pamcut.test @@ -56,79 +56,79 @@ echo "-----------------------------------------------------------" 1>&2 # overspecification pamcut -left=1 -right=1 -width=14 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 1" + printf "Expected failure 1" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -top=1 -bottom=1 -height=16 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 2" + printf "Expected failure 2" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -right=1 -cropright=1 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 3" + printf "Expected failure 3" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -top=1 -croptop=1 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 4" + printf "Expected failure 4" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -bottom=1 -cropbottom=1 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 5" + printf "Expected failure 5" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -left=1 -cropleft=1 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 6" + printf "Expected failure 6" test -s ${test_out}; echo " "$? rm -f ${test_out} # excessive cropping pamcut -cropleft=7 -cropright=8 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 7" + printf "Expected failure 7" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -left=7 -right=6 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 8" + printf "Expected failure 8" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -croptop=8 -cropbottom=8 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 9" + printf "Expected failure 9" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -top=10 -bottom=9 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 6" + printf "Expected failure 6" test -s ${test_out}; echo " "$? rm -f ${test_out} # pad absent pamcut -cropleft=1 -width=14 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 10" + printf "Expected failure 10" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut -croptop=1 -height=16 testgrid.pbm > ${test_out} || \ - echo -n "Expected failure 11" + printf "Expected failure 11" test -s ${test_out}; echo " "$? rm -f ${test_out} # legacy style: insufficient number of positional parameters pamcut 5 testimg.ppm > ${test_out} || \ - echo -n "Expected failure 12" + printf "Expected failure 12" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut 5 4 testimg.ppm > ${test_out} || \ - echo -n "Expected failure 13" + printf "Expected failure 13" test -s ${test_out}; echo " "$? rm -f ${test_out} pamcut 5 5 30 testimg.ppm > ${test_out} || \ - echo -n "Expected failure 14" + printf "Expected failure 14" test -s ${test_out}; echo " "$? rm -f ${test_out} |