permalink test: start by deleting t/tmp

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.
master
Simon McVittie 2013-02-24 13:18:34 +00:00
parent 2bdb0c5902
commit 766a2c7ab1
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ use warnings;
use strict;
use Test::More 'no_plan';
ok(! system("rm -rf t/tmp"));
ok(! system("mkdir t/tmp"));
ok(! system("make -s ikiwiki.out"));
ok(! system("perl -I. ./ikiwiki.out -plugin inline -url=http://example.com -cgiurl=http://example.com/ikiwiki.cgi -rss -atom -underlaydir=underlays/basewiki -set underlaydirbase=underlays -templatedir=templates t/tinyblog t/tmp/out"));