From: Simon McVittie Date: Thu, 5 May 2016 22:24:17 +0000 (+0100) Subject: img test: use the right filenames when testing that deletion occurs X-Git-Tag: debian/3.20141016.3~14 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/70950d20ed240a9d0d09e2fb6a4c77376dd3e94e img test: use the right filenames when testing that deletion occurs Also use a less misleading name for the sample SVG: it is no longer empty. Since commit 105f285a it has contained a blue square. --- diff --git a/t/img.t b/t/img.t index a7b92531f..2473b9d76 100755 --- a/t/img.t +++ b/t/img.t @@ -31,7 +31,7 @@ ok(! system("cp t/img/redsquare.png t/tmp/in/a:b:c:d.png")); ok(! system("cp t/img/redsquare.png t/tmp/in/a:b:c:d:e:f:g:h:i:j.png")); if ($SVGS_WORK) { - writefile("emptysquare.svg", "t/tmp/in", + writefile("bluesquare.svg", "t/tmp/in", ''); } @@ -40,7 +40,7 @@ ok(! system("cp t/img/twopages.pdf t/tmp/in/twopages.pdf")); my $maybe_svg_img = ""; if ($SVGS_WORK) { - $maybe_svg_img = "[[!img emptysquare.svg size=10x]]"; + $maybe_svg_img = "[[!img bluesquare.svg size=10x]]"; } writefile("imgconversions.mdwn", "t/tmp/in", <