4 use Test::More 'no_plan';
6 ok(! system("mkdir t/tmp"));
7 ok(! system("make -s ikiwiki.out"));
8 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"));
9 # This guid should never, ever change, for any reason whatsoever!
10 my $guid="http://example.com/post/";
11 ok(length `grep '<guid>$guid</guid>' t/tmp/out/index.rss`);
12 ok(length `grep '<id>$guid</id>' t/tmp/out/index.atom`);
13 ok(! system("rm -rf t/tmp t/tinyblog/.ikiwiki"));