aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-05 23:51:08 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-05 23:51:08 +0000
commit8fd13334af6538ab65273a4a6adb5a8cb3faef17 (patch)
tree0ed8238c9fc324f84b4e70bc41fcc2b99e909ec3 /t
parent6b5ab219592b327f910e53395eb018f4e7005269 (diff)
downloadikiwiki-8fd13334af6538ab65273a4a6adb5a8cb3faef17.tar
ikiwiki-8fd13334af6538ab65273a4a6adb5a8cb3faef17.tar.gz
fix path issue when runnign test
Diffstat (limited to 't')
-rwxr-xr-xt/basewiki_brokenlinks.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/basewiki_brokenlinks.t b/t/basewiki_brokenlinks.t
index 00811a5e3..baee285e2 100755
--- a/t/basewiki_brokenlinks.t
+++ b/t/basewiki_brokenlinks.t
@@ -5,7 +5,7 @@ use Test::More 'no_plan';
ok(! system("mkdir t/tmp"));
ok(! system("make -q ikiwiki.out"));
-ok(! system("make extra_install DESTDIR=t/tmp/install PREFIX=/usr >/dev/null"));
+ok(! system("make extra_install DESTDIR=`pwd`/t/tmp/install PREFIX=/usr >/dev/null"));
ok(! system("LANG= perl -T -I. ./ikiwiki.out -plugin smiley -plugin brokenlinks -rebuild -underlaydir=t/tmp/install/usr/share/ikiwiki/basewiki -templatedir=templates t/basewiki_brokenlinks t/tmp/out"));
ok(`grep 'no broken links' t/tmp/out/index.html`);
ok(-e "t/tmp/out/style.css");