From 6879e3782854f336bb2aa192a36a049695953245 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 9 May 2016 21:53:10 +0100 Subject: img test: exercise upper-case extensions for image files --- t/img.t | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 't') diff --git a/t/img.t b/t/img.t index 49c1d6f98..05a91aff6 100755 --- a/t/img.t +++ b/t/img.t @@ -45,6 +45,7 @@ ok(! system("rm -rf t/tmp; mkdir -p t/tmp/in")); ok(! system("cp t/img/redsquare.png t/tmp/in/redsquare.png")); ok(! system("cp t/img/redsquare.jpg t/tmp/in/redsquare.jpg")); ok(! system("cp t/img/redsquare.jpg t/tmp/in/redsquare.jpeg")); +ok(! system("cp t/img/redsquare.jpg t/tmp/in/SHOUTY.JPG")); # colons in filenames are a corner case for img ok(! system("cp t/img/redsquare.png t/tmp/in/hello:world.png")); ok(! system("cp t/img/redsquare.png t/tmp/in/a:b:c.png")); @@ -59,7 +60,7 @@ ok(! system("cp t/tmp/in/bluesquare.svg t/tmp/in/really-svg.pdf")); # using different image sizes for different pages, so the pagenumber selection can be tested easily ok(! system("cp t/img/twopages.pdf t/tmp/in/twopages.pdf")); -ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.jpeg")); +ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.JPEG")); ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.jpg")); ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.png")); ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.svg")); @@ -76,6 +77,7 @@ writefile("imgconversions.mdwn", "t/tmp/in", <