aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2013-02-24 13:18:34 +0000
committerSimon McVittie <smcv@debian.org>2013-02-24 13:18:34 +0000
commit766a2c7ab1c48e1fe3acabaaf7b40bcd60e15688 (patch)
tree8e559fcea6914a18f90ad362c5441206f06aea0f /t
parent2bdb0c59021d7d1ae906f82b606638e560726469 (diff)
downloadikiwiki-766a2c7ab1c48e1fe3acabaaf7b40bcd60e15688.tar
ikiwiki-766a2c7ab1c48e1fe3acabaaf7b40bcd60e15688.tar.gz
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.
Diffstat (limited to 't')
-rwxr-xr-xt/permalink.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/permalink.t b/t/permalink.t
index 81d4d1820..36be984c5 100755
--- a/t/permalink.t
+++ b/t/permalink.t
@@ -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"));