]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/permalink.t
Catch up to highlight 4.0 API change.
[git.ikiwiki.info.git] / t / permalink.t
index 2eb557e1d649c2e5605b76e2285a9dfb2890635e..7b6b89bead2a91a5a1140fe50f1403f4e5becbac 100755 (executable)
@@ -18,7 +18,7 @@ else {
                --templatedir=templates));
 }
 
                --templatedir=templates));
 }
 
-ok(! system("rm -rf t/tmp"));
+ok(! system("rm -rf t/tmp t/tinyblog/.ikiwiki"));
 ok(! system("mkdir t/tmp"));
 ok(! system(@command, qw(--plugin inline --url=http://example.com
                --cgiurl=http://example.com/ikiwiki.cgi --rss --atom
 ok(! system("mkdir t/tmp"));
 ok(! system(@command, qw(--plugin inline --url=http://example.com
                --cgiurl=http://example.com/ikiwiki.cgi --rss --atom
@@ -27,6 +27,5 @@ ok(! system(@command, qw(--plugin inline --url=http://example.com
 my $guid="http://example.com/post/";
 ok(length `egrep '<guid.*>$guid</guid>' t/tmp/out/index.rss`);
 ok(length `egrep '<id>$guid</id>' t/tmp/out/index.atom`);
 my $guid="http://example.com/post/";
 ok(length `egrep '<guid.*>$guid</guid>' t/tmp/out/index.rss`);
 ok(length `egrep '<id>$guid</id>' t/tmp/out/index.atom`);
-ok(! system("rm -rf t/tmp t/tinyblog/.ikiwiki"));
 
 done_testing();
 
 done_testing();