]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - t/permalink.t
git diffurl: Do not escape / in paths to changed files, in order to interoperate...
[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("rm -rf t/tmp"));
7 ok(! system("mkdir t/tmp"));
8 ok(! system("make -s ikiwiki.out"));
9 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"));
10 # This guid should never, ever change, for any reason whatsoever!
11 my $guid="http://example.com/post/";
12 ok(length `egrep '<guid.*>$guid</guid>' t/tmp/out/index.rss`);
13 ok(length `egrep '<id>$guid</id>' t/tmp/out/index.atom`);
14 ok(! system("rm -rf t/tmp t/tinyblog/.ikiwiki"));