]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - t/permalink.t
rename use_pagespec to pagespec_match_list
[git.ikiwiki.info.git] / t / permalink.t
1 #!/usr/bin/perl
2 use warnings;
3 use strict;
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 -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"));