]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/wrapper-environ.t
(no commit message)
[git.ikiwiki.info.git] / t / wrapper-environ.t
index ddf5a6e44f5bf509b1e9b6c2bd65e6a55300bca0..6254816faa79dfe578062c65036e5bef43584476 100755 (executable)
@@ -22,12 +22,15 @@ if ($installed) {
 }
 else {
        ok(! system("make -s ikiwiki.out"));
-       @command = qw(env PERL5LIB=t/tmp:blib/lib:blib/arch perl -I. ./ikiwiki.out
+       @command = (qw(env PERL5LIB=t/tmp:blib/lib:blib/arch perl),
+               "-I".getcwd, qw(./ikiwiki.out
                --underlaydir=underlays/basewiki
                --set underlaydirbase=underlays
-               --templatedir=templates);
+               --templatedir=templates));
 }
 
+ok(! system("rm -rf t/tmp"));
+
 writefile("test.setup", "t/tmp", <<EOF
 # IkiWiki::Setup::Yaml - YAML formatted setup file
 wikiname: this is the name of my wiki