4 use Test::More 'no_plan';
7 my $srcdir="t/tmp/src";
8 my $destdir="t/tmp/dest";
9 ok(! system("make -s ikiwiki.out"));
10 ok(! system("mkdir -p $srcdir"));
12 # runs ikiwiki to build test site
14 ok(! system("perl -I. ./ikiwiki.out -plugin html -underlaydir=underlays/basewiki -set underlaydirbase=underlays -templatedir=templates $srcdir $destdir @_"));
20 ok(! system("rm -rf $srcdir/.ikiwiki $destdir"));
24 # At one point, changing the extension of the source file of a page caused
26 ok(! system("touch $srcdir/foo.mdwn"));
28 ok(! system("mv $srcdir/foo.mdwn $srcdir/foo.html"));
31 # Changing a non-page file into a page could also cause ikiwiki to fail.
34 ok(! system("rm -rf t/tmp"));