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.
Back ported from libpng 1.7 Signed-off-by: John Bowler <jbowler@acm.org>