diff options
author | Simon McVittie <smcv@debian.org> | 2015-06-14 18:13:17 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2015-06-14 18:13:17 +0100 |
commit | 841a86a4f369ac091c517015477a59800fbcb2e9 (patch) | |
tree | 69737fa946b09caf51e2d2a2e8bd2387eab21d79 | |
parent | 7a2117bf8c2cf5372e64ab7b368803eec7e6f5d7 (diff) | |
download | ikiwiki-841a86a4f369ac091c517015477a59800fbcb2e9.tar ikiwiki-841a86a4f369ac091c517015477a59800fbcb2e9.tar.gz |
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.
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | t/img.t | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 2b79e51ab..b7f4cf644 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ ikiwiki (3.20150611) UNRELEASED; urgency=medium * inline: change default sort order from age to "age title" for determinism * img: avoid ImageMagick misinterpreting filenames containing a colon + * img test: set old timestamp on source file that will change, so that + the test will pass even if it takes less than 1 second -- Simon McVittie <smcv@debian.org> Thu, 11 Jun 2015 08:32:35 +0100 @@ -55,6 +55,7 @@ $maybe_svg_img [[!img twopages.pdf size=16x pagenumber=1]] EOF ); +ok(utime(333333333, 333333333, "t/tmp/in/imgconversions.mdwn")); ok(! system("make -s ikiwiki.out")); |