Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rebuild for jessie-backports, no source changes (Closes: #807452)
[git.ikiwiki.info.git]
/
t
/
trail.t
diff --git
a/t/trail.t
b/t/trail.t
index dce3b3c7e4df551984c30c6ed0a0cecac53631ed..bde812887ae1083aa97a65f93b1ec06bff9e2be8 100755
(executable)
--- a/
t/trail.t
+++ b/
t/trail.t
@@
-131,11
+131,11
@@
EOF
ok(! system("make -s ikiwiki.out"));
ok(! system("make -s ikiwiki.out"));
-my $command = "perl -I. ./ikiwiki.out -
set usedirs=0 -plugin trail -plugin inline -url=http://example.com -cgiurl=http://example.com/ikiwiki.cgi -rss -atom -underlaydir=underlays/basewiki -set underlaydirbase=underlays -templatedir=templates t/tmp/in t/tmp/out
-verbose";
+my $command = "perl -I. ./ikiwiki.out -
-set usedirs=0 --plugin trail --plugin inline --url=http://example.com --cgiurl=http://example.com/ikiwiki.cgi --rss --atom --underlaydir=underlays/basewiki --set underlaydirbase=underlays --templatedir=templates t/tmp/in t/tmp/out -
-verbose";
ok(! system($command));
ok(! system($command));
-ok(! system("$command -refresh"));
+ok(! system("$command -
-
refresh"));
$blob = readfile("t/tmp/out/meme.html");
ok($blob =~ /<a href="(\.\/)?badger.html">badger<\/a>/m);
$blob = readfile("t/tmp/out/meme.html");
ok($blob =~ /<a href="(\.\/)?badger.html">badger<\/a>/m);
@@
-232,7
+232,7
@@
writefile("limited/c.mdwn", "t/tmp/in", '[[!meta title="New C page"]]c');
writefile("untrail.mdwn", "t/tmp/in", "no longer a trail");
writefile("untrail.mdwn", "t/tmp/in", "no longer a trail");
-ok(! system("$command -refresh"));
+ok(! system("$command -
-
refresh"));
check_trail("add/a.html", "n=add/b p=");
check_trail("add/b.html", "n=add/c p=add/a");
check_trail("add/a.html", "n=add/b p=");
check_trail("add/b.html", "n=add/c p=add/a");