[libpng17] Make tests/pngstest* work with the original Bourne shell

This commit is contained in:
John Bowler
2013-02-07 21:52:29 -06:00
committed by Glenn Randers-Pehrson
parent b10867cdc2
commit e88e221d91
33 changed files with 101 additions and 392 deletions

13
tests/pngstest Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
#
# Usage:
#
# tests/pngstest pattern
#
# Runs pngstest on all the contrib/pngsuite/[^x]*${pattern}.png files
# NOTE: pattern is used to name the temporary files pngstest generates
#
pattern="$1"
shift
exec ./pngstest --strict --tmpfile "${pattern}" --log ${1+"$@"}\
"${srcdir}/contrib/pngsuite/"[a-wyz]*${pattern}".png"