207392821d
Moved testing of bad pngs into a separate tests/pngtest-badpngs script Added the --xfail (expected FAIL) option to pngtest.c. It writes XFAIL in the output but PASS for the libpng test.
10 lines
316 B
Bash
Executable File
10 lines
316 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# various crashers
|
|
# using --relaxed because some come from fuzzers that don't maintain CRC's
|
|
|
|
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badcrc.png
|
|
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badadler.png
|
|
|
|
exec ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_idat.png
|