]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
permalink test: start by deleting t/tmp
authorSimon McVittie <smcv@debian.org>
Sun, 24 Feb 2013 13:18:34 +0000 (13:18 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 11 Jan 2017 22:36:48 +0000 (22:36 +0000)
Otherwise, tests that don't end by deleting t/tmp (which is a useful
change when debugging a failing test) would cause this one to fail.

t/permalink.t

index f776dd260da60d23b29b09e7e890dadd1f4d2fb1..edb05a81b1bbdf487aee7b59fff19e6c48fae329 100755 (executable)
@@ -17,6 +17,7 @@ else {
                --templatedir=templates);
 }
 
+ok(! system("rm -rf t/tmp"));
 ok(! system("mkdir t/tmp"));
 ok(! system(@command, qw(--plugin inline --url=http://example.com
                --cgiurl=http://example.com/ikiwiki.cgi --rss --atom