]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
img test: set old timestamp on source file that will change
authorSimon McVittie <smcv@debian.org>
Sun, 14 Jun 2015 17:13:17 +0000 (18:13 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 5 May 2016 22:44:31 +0000 (23:44 +0100)
This is so that the test will pass even if it takes less than 1 second.

t/img.t

diff --git a/t/img.t b/t/img.t
index 59f43c2ae1789bb3b7466388d3343140bc85d91e..55cf05afc4df5e9c232b36111d594a52e34f370c 100755 (executable)
--- 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"));