summaryrefslogtreecommitdiff
path: root/t/permalink.t
blob: b49b9833813468597e269ab0b9af38ae9920dc0b (plain)
  1. #!/usr/bin/perl
  2. use warnings;
  3. use strict;
  4. use Test::More 'no_plan';
  5. ok(! system("mkdir t/tmp"));
  6. ok(! system("make -s ikiwiki.out"));
  7. 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"));
  8. # This guid should never, ever change, for any reason whatsoever!
  9. my $guid="http://example.com/post/";
  10. ok(length `grep '<guid>$guid</guid>' t/tmp/out/index.rss`);
  11. ok(length `grep '<id>$guid</id>' t/tmp/out/index.atom`);
  12. ok(! system("rm -rf t/tmp t/tinyblog/.ikiwiki"));
td class='right'>2023-06-27 09:35:08 +0200 committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200 commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch) treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/02/13/a70ddaf90903151840kd5557b8ve248166969659408@mail.gmail.com/sugar parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
master
Diffstat (limited to 'tags/02/13/a70ddaf90903151840kd5557b8ve248166969659408@mail.gmail.com/sugar')