}
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