diff --git a/tests/check_testimages.rs b/tests/check_testimages.rs index c66055b8da..f624d624df 100644 --- a/tests/check_testimages.rs +++ b/tests/check_testimages.rs @@ -3,7 +3,7 @@ extern crate glob; use std::collections::HashMap; use std::fs::File; -use std::path::PathBuf; +use std::path::{Component, Path, PathBuf}; use std::io::BufReader; use std::io::prelude::*; @@ -20,12 +20,13 @@ where F: Fn(PathBuf) -> Result { let mut path = base.clone(); path.push(suite); path.push("*.png"); + let pattern = &*format!("{}", path.display()); for path in glob::glob(pattern).unwrap().filter_map(Result::ok) { - print!("{:?}: ", path.clone()); + print!("{}: ", path.display()); match func(path.clone()) { Ok(crc) => { - results.insert(format!("{:?}", path), format!("{}", crc)); + results.insert(format!("{}", path.display()), format!("{}", crc)); println!("{}", crc) }, Err(_) if path.file_name().unwrap().to_str().unwrap().starts_with("x") => { @@ -46,13 +47,14 @@ where F: Fn(PathBuf) -> Result { if parts[1] == "Expected failure" { failures += 1; } else { - ref_results.insert(parts[0].to_string(), parts[1].to_string()); + let current_path = format!("{}", normalize_path(Path::new(&parts[0])).display()); + ref_results.insert(current_path, parts[1].to_string()); } } assert_eq!(expected_failures, failures); for (path, crc) in results.iter() { assert_eq!( - ref_results.get(path).expect(&format!("reference for {:?} is missing", path)), + ref_results.get(path).expect(&format!("reference for {} is missing", path)), crc ) } @@ -79,6 +81,33 @@ fn render_images() { }) } +// until rust standardizes path normalization, see https://github.com/rust-lang/rfcs/issues/2208 +fn normalize_path(path: &Path) -> PathBuf { + let mut components = path.components().peekable(); + let mut ret = if let Some(c @ Component::Prefix(..)) = components.peek().cloned() { + components.next(); + PathBuf::from(c.as_os_str()) + } else { + PathBuf::new() + }; + + for component in components { + match component { + Component::Prefix(..) => unreachable!(), + Component::RootDir => { + ret.push(component.as_os_str()); + } + Component::CurDir => {} + Component::ParentDir => { + ret.pop(); + } + Component::Normal(c) => { + ret.push(c); + } + } + } + ret +} const CRC_TABLE: [u32; 256] = [ 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, diff --git a/tests/results.txt b/tests/results.txt index f4ffd439bf..40e68d1646 100644 --- a/tests/results.txt +++ b/tests/results.txt @@ -1,182 +1,182 @@ -"tests/pngsuite/PngSuite.png": 4071145679 -"tests/pngsuite/basi0g01.png": 1916321797 -"tests/pngsuite/basi0g02.png": 1959377845 -"tests/pngsuite/basi0g04.png": 57892328 -"tests/pngsuite/basi0g08.png": 2018200142 -"tests/pngsuite/basi0g16.png": 101827364 -"tests/pngsuite/basi2c08.png": 2018884031 -"tests/pngsuite/basi2c16.png": 4291567313 -"tests/pngsuite/basi3p01.png": 837560395 -"tests/pngsuite/basi3p02.png": 664421946 -"tests/pngsuite/basi3p04.png": 983434126 -"tests/pngsuite/basi3p08.png": 4285409600 -"tests/pngsuite/basi4a08.png": 2960547948 -"tests/pngsuite/basi4a16.png": 1352835972 -"tests/pngsuite/basi6a08.png": 2806903596 -"tests/pngsuite/basi6a16.png": 677111136 -"tests/pngsuite/basn0g01.png": 1916321797 -"tests/pngsuite/basn0g02.png": 1959377845 -"tests/pngsuite/basn0g04.png": 57892328 -"tests/pngsuite/basn0g08.png": 2018200142 -"tests/pngsuite/basn0g16.png": 101827364 -"tests/pngsuite/basn2c08.png": 2018884031 -"tests/pngsuite/basn2c16.png": 4291567313 -"tests/pngsuite/basn3p01.png": 837560395 -"tests/pngsuite/basn3p02.png": 664421946 -"tests/pngsuite/basn3p04.png": 983434126 -"tests/pngsuite/basn3p08.png": 4285409600 -"tests/pngsuite/basn4a08.png": 2960547948 -"tests/pngsuite/basn4a16.png": 1352835972 -"tests/pngsuite/basn6a08.png": 2806903596 -"tests/pngsuite/basn6a16.png": 677111136 -"tests/pngsuite/bgai4a08.png": 2960547948 -"tests/pngsuite/bgai4a16.png": 1352835972 -"tests/pngsuite/bgan6a08.png": 2806903596 -"tests/pngsuite/bgan6a16.png": 677111136 -"tests/pngsuite/bgbn4a08.png": 2960547948 -"tests/pngsuite/bggn4a16.png": 1352835972 -"tests/pngsuite/bgwn6a08.png": 2806903596 -"tests/pngsuite/bgyn6a16.png": 677111136 -"tests/pngsuite/ccwn2c08.png": 1639358094 -"tests/pngsuite/ccwn3p08.png": 773689073 -"tests/pngsuite/cdfn2c08.png": 2578399395 -"tests/pngsuite/cdhn2c08.png": 2225401664 -"tests/pngsuite/cdsn2c08.png": 2192731567 -"tests/pngsuite/cdun2c08.png": 3998278602 -"tests/pngsuite/ch1n3p04.png": 983434126 -"tests/pngsuite/ch2n3p08.png": 4285409600 -"tests/pngsuite/cm0n0g04.png": 174456296 -"tests/pngsuite/cm7n0g04.png": 174456296 -"tests/pngsuite/cm9n0g04.png": 174456296 -"tests/pngsuite/cs3n2c16.png": 1929786652 -"tests/pngsuite/cs3n3p08.png": 3295831011 -"tests/pngsuite/cs5n2c08.png": 454480233 -"tests/pngsuite/cs5n3p08.png": 454480233 -"tests/pngsuite/cs8n2c08.png": 1929786652 -"tests/pngsuite/cs8n3p08.png": 1929786652 -"tests/pngsuite/ct0n0g04.png": 174456296 -"tests/pngsuite/ct1n0g04.png": 174456296 -"tests/pngsuite/cten0g04.png": 265059633 -"tests/pngsuite/ctfn0g04.png": 3557081592 -"tests/pngsuite/ctgn0g04.png": 1657879240 -"tests/pngsuite/cthn0g04.png": 4002826722 -"tests/pngsuite/ctjn0g04.png": 3954987732 -"tests/pngsuite/ctzn0g04.png": 174456296 -"tests/pngsuite/f00n0g08.png": 521676383 -"tests/pngsuite/f00n2c08.png": 1058891437 -"tests/pngsuite/f01n0g08.png": 409477503 -"tests/pngsuite/f01n2c08.png": 297906814 -"tests/pngsuite/f02n0g08.png": 2042218974 -"tests/pngsuite/f02n2c08.png": 2132584325 -"tests/pngsuite/f03n0g08.png": 2742273604 -"tests/pngsuite/f03n2c08.png": 828661129 -"tests/pngsuite/f04n0g08.png": 3087032872 -"tests/pngsuite/f04n2c08.png": 1996843631 -"tests/pngsuite/f99n0g04.png": 1023394357 -"tests/pngsuite/g03n0g16.png": 786225710 -"tests/pngsuite/g03n2c08.png": 909312543 -"tests/pngsuite/g03n3p04.png": 2123416332 -"tests/pngsuite/g04n0g16.png": 1657700307 -"tests/pngsuite/g04n2c08.png": 2927775506 -"tests/pngsuite/g04n3p04.png": 3759087858 -"tests/pngsuite/g05n0g16.png": 4267405292 -"tests/pngsuite/g05n2c08.png": 1008110461 -"tests/pngsuite/g05n3p04.png": 3503539803 -"tests/pngsuite/g07n0g16.png": 3805335016 -"tests/pngsuite/g07n2c08.png": 1838909555 -"tests/pngsuite/g07n3p04.png": 1865317235 -"tests/pngsuite/g10n0g16.png": 1679108422 -"tests/pngsuite/g10n2c08.png": 4195624999 -"tests/pngsuite/g10n3p04.png": 632221577 -"tests/pngsuite/g25n0g16.png": 925915624 -"tests/pngsuite/g25n2c08.png": 3851501873 -"tests/pngsuite/g25n3p04.png": 1908521265 -"tests/pngsuite/oi1n0g16.png": 101827364 -"tests/pngsuite/oi1n2c16.png": 4291567313 -"tests/pngsuite/oi2n0g16.png": 101827364 -"tests/pngsuite/oi2n2c16.png": 4291567313 -"tests/pngsuite/oi4n0g16.png": 101827364 -"tests/pngsuite/oi4n2c16.png": 4291567313 -"tests/pngsuite/oi9n0g16.png": 101827364 -"tests/pngsuite/oi9n2c16.png": 4291567313 -"tests/pngsuite/pp0n2c16.png": 4291567313 -"tests/pngsuite/pp0n6a08.png": 249584737 -"tests/pngsuite/ps1n0g08.png": 2018200142 -"tests/pngsuite/ps1n2c16.png": 4291567313 -"tests/pngsuite/ps2n0g08.png": 2018200142 -"tests/pngsuite/ps2n2c16.png": 4291567313 -"tests/pngsuite/s01i3p01.png": 3527620255 -"tests/pngsuite/s01n3p01.png": 3527620255 -"tests/pngsuite/s02i3p01.png": 2660441477 -"tests/pngsuite/s02n3p01.png": 2660441477 -"tests/pngsuite/s03i3p01.png": 1763063822 -"tests/pngsuite/s03n3p01.png": 1763063822 -"tests/pngsuite/s04i3p01.png": 3269514395 -"tests/pngsuite/s04n3p01.png": 3269514395 -"tests/pngsuite/s05i3p02.png": 306362107 -"tests/pngsuite/s05n3p02.png": 306362107 -"tests/pngsuite/s06i3p02.png": 3612906816 -"tests/pngsuite/s06n3p02.png": 3612906816 -"tests/pngsuite/s07i3p02.png": 3536647305 -"tests/pngsuite/s07n3p02.png": 3536647305 -"tests/pngsuite/s08i3p02.png": 732016702 -"tests/pngsuite/s08n3p02.png": 732016702 -"tests/pngsuite/s09i3p02.png": 2539836141 -"tests/pngsuite/s09n3p02.png": 2539836141 -"tests/pngsuite/s32i3p04.png": 2902586445 -"tests/pngsuite/s32n3p04.png": 2902586445 -"tests/pngsuite/s33i3p04.png": 3539250792 -"tests/pngsuite/s33n3p04.png": 3539250792 -"tests/pngsuite/s34i3p04.png": 3152913399 -"tests/pngsuite/s34n3p04.png": 3152913399 -"tests/pngsuite/s35i3p04.png": 2569616079 -"tests/pngsuite/s35n3p04.png": 2569616079 -"tests/pngsuite/s36i3p04.png": 4112160480 -"tests/pngsuite/s36n3p04.png": 4112160480 -"tests/pngsuite/s37i3p04.png": 2449954980 -"tests/pngsuite/s37n3p04.png": 2449954980 -"tests/pngsuite/s38i3p04.png": 3946574628 -"tests/pngsuite/s38n3p04.png": 3946574628 -"tests/pngsuite/s39i3p04.png": 3228401057 -"tests/pngsuite/s39n3p04.png": 3228401057 -"tests/pngsuite/s40i3p04.png": 222714016 -"tests/pngsuite/s40n3p04.png": 222714016 -"tests/pngsuite/tbbn0g04.png": 2375338924 -"tests/pngsuite/tbbn2c16.png": 57733001 -"tests/pngsuite/tbbn3p08.png": 2639711591 -"tests/pngsuite/tbgn2c16.png": 57733001 -"tests/pngsuite/tbgn3p08.png": 2639711591 -"tests/pngsuite/tbrn2c08.png": 57733001 -"tests/pngsuite/tbwn0g16.png": 2613597433 -"tests/pngsuite/tbwn3p08.png": 2639711591 -"tests/pngsuite/tbyn3p08.png": 2639711591 -"tests/pngsuite/tm3n3p02.png": 3889866741 -"tests/pngsuite/tp0n0g08.png": 3286082606 -"tests/pngsuite/tp0n2c08.png": 3022435152 -"tests/pngsuite/tp0n3p08.png": 357118518 -"tests/pngsuite/tp1n3p08.png": 2639711591 -"tests/pngsuite/xc1n0g08.png": Expected failure -"tests/pngsuite/xc9n2c08.png": Expected failure -"tests/pngsuite/xcrn0g04.png": Expected failure -"tests/pngsuite/xcsn0g01.png": Expected failure -"tests/pngsuite/xd0n2c08.png": Expected failure -"tests/pngsuite/xd3n2c08.png": Expected failure -"tests/pngsuite/xd9n2c08.png": Expected failure -"tests/pngsuite/xdtn0g01.png": Expected failure -"tests/pngsuite/xhdn0g08.png": Expected failure -"tests/pngsuite/xlfn0g04.png": Expected failure -"tests/pngsuite/xs1n0g01.png": Expected failure -"tests/pngsuite/xs2n0g01.png": Expected failure -"tests/pngsuite/xs4n0g01.png": Expected failure -"tests/pngsuite/xs7n0g01.png": Expected failure -"tests/pngsuite/z00n2c08.png": 4176991825 -"tests/pngsuite/z03n2c08.png": 4176991825 -"tests/pngsuite/z06n2c08.png": 4176991825 -"tests/pngsuite/z09n2c08.png": 4176991825 -"tests/pngsuite-extra/basi3p01_2.png": 2570215674 -"tests/pngsuite-extra/basi3p02_2.png": 419215269 -"tests/bugfixes/invalid_palette_index.png": 3040120786 -"tests/bugfixes/acid2.png": 2380843583 -"tests/bugfixes/issue#403.png": 2961280239 -"tests/bugfixes/x_ihdr_missing.png": Expected failure -"tests/bugfixes/x_unexpected_eof.png": Expected failure +tests/pngsuite/PngSuite.png: 4071145679 +tests/pngsuite/basi0g01.png: 1916321797 +tests/pngsuite/basi0g02.png: 1959377845 +tests/pngsuite/basi0g04.png: 57892328 +tests/pngsuite/basi0g08.png: 2018200142 +tests/pngsuite/basi0g16.png: 101827364 +tests/pngsuite/basi2c08.png: 2018884031 +tests/pngsuite/basi2c16.png: 4291567313 +tests/pngsuite/basi3p01.png: 837560395 +tests/pngsuite/basi3p02.png: 664421946 +tests/pngsuite/basi3p04.png: 983434126 +tests/pngsuite/basi3p08.png: 4285409600 +tests/pngsuite/basi4a08.png: 2960547948 +tests/pngsuite/basi4a16.png: 1352835972 +tests/pngsuite/basi6a08.png: 2806903596 +tests/pngsuite/basi6a16.png: 677111136 +tests/pngsuite/basn0g01.png: 1916321797 +tests/pngsuite/basn0g02.png: 1959377845 +tests/pngsuite/basn0g04.png: 57892328 +tests/pngsuite/basn0g08.png: 2018200142 +tests/pngsuite/basn0g16.png: 101827364 +tests/pngsuite/basn2c08.png: 2018884031 +tests/pngsuite/basn2c16.png: 4291567313 +tests/pngsuite/basn3p01.png: 837560395 +tests/pngsuite/basn3p02.png: 664421946 +tests/pngsuite/basn3p04.png: 983434126 +tests/pngsuite/basn3p08.png: 4285409600 +tests/pngsuite/basn4a08.png: 2960547948 +tests/pngsuite/basn4a16.png: 1352835972 +tests/pngsuite/basn6a08.png: 2806903596 +tests/pngsuite/basn6a16.png: 677111136 +tests/pngsuite/bgai4a08.png: 2960547948 +tests/pngsuite/bgai4a16.png: 1352835972 +tests/pngsuite/bgan6a08.png: 2806903596 +tests/pngsuite/bgan6a16.png: 677111136 +tests/pngsuite/bgbn4a08.png: 2960547948 +tests/pngsuite/bggn4a16.png: 1352835972 +tests/pngsuite/bgwn6a08.png: 2806903596 +tests/pngsuite/bgyn6a16.png: 677111136 +tests/pngsuite/ccwn2c08.png: 1639358094 +tests/pngsuite/ccwn3p08.png: 773689073 +tests/pngsuite/cdfn2c08.png: 2578399395 +tests/pngsuite/cdhn2c08.png: 2225401664 +tests/pngsuite/cdsn2c08.png: 2192731567 +tests/pngsuite/cdun2c08.png: 3998278602 +tests/pngsuite/ch1n3p04.png: 983434126 +tests/pngsuite/ch2n3p08.png: 4285409600 +tests/pngsuite/cm0n0g04.png: 174456296 +tests/pngsuite/cm7n0g04.png: 174456296 +tests/pngsuite/cm9n0g04.png: 174456296 +tests/pngsuite/cs3n2c16.png: 1929786652 +tests/pngsuite/cs3n3p08.png: 3295831011 +tests/pngsuite/cs5n2c08.png: 454480233 +tests/pngsuite/cs5n3p08.png: 454480233 +tests/pngsuite/cs8n2c08.png: 1929786652 +tests/pngsuite/cs8n3p08.png: 1929786652 +tests/pngsuite/ct0n0g04.png: 174456296 +tests/pngsuite/ct1n0g04.png: 174456296 +tests/pngsuite/cten0g04.png: 265059633 +tests/pngsuite/ctfn0g04.png: 3557081592 +tests/pngsuite/ctgn0g04.png: 1657879240 +tests/pngsuite/cthn0g04.png: 4002826722 +tests/pngsuite/ctjn0g04.png: 3954987732 +tests/pngsuite/ctzn0g04.png: 174456296 +tests/pngsuite/f00n0g08.png: 521676383 +tests/pngsuite/f00n2c08.png: 1058891437 +tests/pngsuite/f01n0g08.png: 409477503 +tests/pngsuite/f01n2c08.png: 297906814 +tests/pngsuite/f02n0g08.png: 2042218974 +tests/pngsuite/f02n2c08.png: 2132584325 +tests/pngsuite/f03n0g08.png: 2742273604 +tests/pngsuite/f03n2c08.png: 828661129 +tests/pngsuite/f04n0g08.png: 3087032872 +tests/pngsuite/f04n2c08.png: 1996843631 +tests/pngsuite/f99n0g04.png: 1023394357 +tests/pngsuite/g03n0g16.png: 786225710 +tests/pngsuite/g03n2c08.png: 909312543 +tests/pngsuite/g03n3p04.png: 2123416332 +tests/pngsuite/g04n0g16.png: 1657700307 +tests/pngsuite/g04n2c08.png: 2927775506 +tests/pngsuite/g04n3p04.png: 3759087858 +tests/pngsuite/g05n0g16.png: 4267405292 +tests/pngsuite/g05n2c08.png: 1008110461 +tests/pngsuite/g05n3p04.png: 3503539803 +tests/pngsuite/g07n0g16.png: 3805335016 +tests/pngsuite/g07n2c08.png: 1838909555 +tests/pngsuite/g07n3p04.png: 1865317235 +tests/pngsuite/g10n0g16.png: 1679108422 +tests/pngsuite/g10n2c08.png: 4195624999 +tests/pngsuite/g10n3p04.png: 632221577 +tests/pngsuite/g25n0g16.png: 925915624 +tests/pngsuite/g25n2c08.png: 3851501873 +tests/pngsuite/g25n3p04.png: 1908521265 +tests/pngsuite/oi1n0g16.png: 101827364 +tests/pngsuite/oi1n2c16.png: 4291567313 +tests/pngsuite/oi2n0g16.png: 101827364 +tests/pngsuite/oi2n2c16.png: 4291567313 +tests/pngsuite/oi4n0g16.png: 101827364 +tests/pngsuite/oi4n2c16.png: 4291567313 +tests/pngsuite/oi9n0g16.png: 101827364 +tests/pngsuite/oi9n2c16.png: 4291567313 +tests/pngsuite/pp0n2c16.png: 4291567313 +tests/pngsuite/pp0n6a08.png: 249584737 +tests/pngsuite/ps1n0g08.png: 2018200142 +tests/pngsuite/ps1n2c16.png: 4291567313 +tests/pngsuite/ps2n0g08.png: 2018200142 +tests/pngsuite/ps2n2c16.png: 4291567313 +tests/pngsuite/s01i3p01.png: 3527620255 +tests/pngsuite/s01n3p01.png: 3527620255 +tests/pngsuite/s02i3p01.png: 2660441477 +tests/pngsuite/s02n3p01.png: 2660441477 +tests/pngsuite/s03i3p01.png: 1763063822 +tests/pngsuite/s03n3p01.png: 1763063822 +tests/pngsuite/s04i3p01.png: 3269514395 +tests/pngsuite/s04n3p01.png: 3269514395 +tests/pngsuite/s05i3p02.png: 306362107 +tests/pngsuite/s05n3p02.png: 306362107 +tests/pngsuite/s06i3p02.png: 3612906816 +tests/pngsuite/s06n3p02.png: 3612906816 +tests/pngsuite/s07i3p02.png: 3536647305 +tests/pngsuite/s07n3p02.png: 3536647305 +tests/pngsuite/s08i3p02.png: 732016702 +tests/pngsuite/s08n3p02.png: 732016702 +tests/pngsuite/s09i3p02.png: 2539836141 +tests/pngsuite/s09n3p02.png: 2539836141 +tests/pngsuite/s32i3p04.png: 2902586445 +tests/pngsuite/s32n3p04.png: 2902586445 +tests/pngsuite/s33i3p04.png: 3539250792 +tests/pngsuite/s33n3p04.png: 3539250792 +tests/pngsuite/s34i3p04.png: 3152913399 +tests/pngsuite/s34n3p04.png: 3152913399 +tests/pngsuite/s35i3p04.png: 2569616079 +tests/pngsuite/s35n3p04.png: 2569616079 +tests/pngsuite/s36i3p04.png: 4112160480 +tests/pngsuite/s36n3p04.png: 4112160480 +tests/pngsuite/s37i3p04.png: 2449954980 +tests/pngsuite/s37n3p04.png: 2449954980 +tests/pngsuite/s38i3p04.png: 3946574628 +tests/pngsuite/s38n3p04.png: 3946574628 +tests/pngsuite/s39i3p04.png: 3228401057 +tests/pngsuite/s39n3p04.png: 3228401057 +tests/pngsuite/s40i3p04.png: 222714016 +tests/pngsuite/s40n3p04.png: 222714016 +tests/pngsuite/tbbn0g04.png: 2375338924 +tests/pngsuite/tbbn2c16.png: 57733001 +tests/pngsuite/tbbn3p08.png: 2639711591 +tests/pngsuite/tbgn2c16.png: 57733001 +tests/pngsuite/tbgn3p08.png: 2639711591 +tests/pngsuite/tbrn2c08.png: 57733001 +tests/pngsuite/tbwn0g16.png: 2613597433 +tests/pngsuite/tbwn3p08.png: 2639711591 +tests/pngsuite/tbyn3p08.png: 2639711591 +tests/pngsuite/tm3n3p02.png: 3889866741 +tests/pngsuite/tp0n0g08.png: 3286082606 +tests/pngsuite/tp0n2c08.png: 3022435152 +tests/pngsuite/tp0n3p08.png: 357118518 +tests/pngsuite/tp1n3p08.png: 2639711591 +tests/pngsuite/xc1n0g08.png: Expected failure +tests/pngsuite/xc9n2c08.png: Expected failure +tests/pngsuite/xcrn0g04.png: Expected failure +tests/pngsuite/xcsn0g01.png: Expected failure +tests/pngsuite/xd0n2c08.png: Expected failure +tests/pngsuite/xd3n2c08.png: Expected failure +tests/pngsuite/xd9n2c08.png: Expected failure +tests/pngsuite/xdtn0g01.png: Expected failure +tests/pngsuite/xhdn0g08.png: Expected failure +tests/pngsuite/xlfn0g04.png: Expected failure +tests/pngsuite/xs1n0g01.png: Expected failure +tests/pngsuite/xs2n0g01.png: Expected failure +tests/pngsuite/xs4n0g01.png: Expected failure +tests/pngsuite/xs7n0g01.png: Expected failure +tests/pngsuite/z00n2c08.png: 4176991825 +tests/pngsuite/z03n2c08.png: 4176991825 +tests/pngsuite/z06n2c08.png: 4176991825 +tests/pngsuite/z09n2c08.png: 4176991825 +tests/pngsuite-extra/basi3p01_2.png: 2570215674 +tests/pngsuite-extra/basi3p02_2.png: 419215269 +tests/bugfixes/invalid_palette_index.png: 3040120786 +tests/bugfixes/acid2.png: 2380843583 +tests/bugfixes/issue#403.png: 2961280239 +tests/bugfixes/x_ihdr_missing.png: Expected failure +tests/bugfixes/x_unexpected_eof.png: Expected failure