From: Simon McVittie Date: Wed, 26 Nov 2014 11:10:44 +0000 (+0000) Subject: Work around Debian #771047: use a non-blank SVG for the regression test X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/105f285a63381b9db2c1d538cfdf42798f1c9042 Work around Debian #771047: use a non-blank SVG for the regression test Inkscape loses the bounding box of a SVG with no content when it converts it to EPS, and ImageMagick does not have a special case for converting SVG to PNG with Inkscape in one step (which Inkscape can do); it prefers to convert SVG to EPS with Inkscape, then EPS to whatever. --- diff --git a/t/img.t b/t/img.t index 8c10d9b74..2ea3abb24 100755 --- a/t/img.t +++ b/t/img.t @@ -26,7 +26,8 @@ ok(! system("rm -rf t/tmp; mkdir -p t/tmp/in")); ok(! system("cp t/img/redsquare.png t/tmp/in/redsquare.png")); if ($SVGS_WORK) { - writefile("emptysquare.svg", "t/tmp/in", ''); + writefile("emptysquare.svg", "t/tmp/in", + ''); } # using different image sizes for different pages, so the pagenumber selection can be tested easily