summaryrefslogtreecommitdiff
path: root/t/bazaar.t
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-20 18:19:00 -0400
committerJoey Hess <joey@kitenet.net>2010-04-20 18:19:00 -0400
commit34e8c78c1c9bf65564c1a3086584158e5c3cc415 (patch)
treeba95100ac77e203def8c1529a9c128e85b8a7818 /t/bazaar.t
parent59ceeb5621ae0ae2bcb7501c6ac0c7a06562a7cc (diff)
parent64946f91982d85bb301cc9241459939c657d0eb9 (diff)
Merge branch 'master' into autotag
Diffstat (limited to 't/bazaar.t')
-rwxr-xr-xt/bazaar.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/bazaar.t b/t/bazaar.t
index 2ca44a65e..0bdd883d5 100755
--- a/t/bazaar.t
+++ b/t/bazaar.t
@@ -12,7 +12,7 @@ BEGIN {
}
}
}
-use Test::More tests => 16;
+use Test::More tests => 17;
BEGIN { use_ok("IkiWiki"); }
@@ -60,6 +60,9 @@ is($changes[1]{pages}[0]{"page"}, "test1");
my $ctime = IkiWiki::rcs_getctime("test2.mdwn");
ok($ctime >= time() - 20);
+my $mtime = IkiWiki::rcs_getmtime("test2.mdwn");
+ok($mtime >= time() - 20);
+
writefile('test3.mdwn', $config{srcdir}, $test1);
IkiWiki::rcs_add("test3.mdwn");
IkiWiki::rcs_rename("test3.mdwn", "test4.mdwn");