From: Simon McVittie <smcv@debian.org>
Date: Sun, 14 Jun 2015 17:13:17 +0000 (+0100)
Subject: img test: set old timestamp on source file that will change
X-Git-Tag: debian/3.20141016.3~12
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/56792d133b6dd4884429e5ebebad6b82218ec071

img test: set old timestamp on source file that will change

This is so that the test will pass even if it takes less than 1 second.
---

diff --git a/t/img.t b/t/img.t
index 59f43c2ae..55cf05afc 100755
--- a/t/img.t
+++ b/t/img.t
@@ -65,6 +65,7 @@ $maybe_svg_img
 $maybe_pdf_img
 EOF
 );
+ok(utime(333333333, 333333333, "t/tmp/in/imgconversions.mdwn"));
 
 ok(! system("make -s ikiwiki.out"));