diff options
author | Simon McVittie <smcv@debian.org> | 2014-10-05 15:19:55 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2014-10-05 15:19:55 +0100 |
commit | b0a35c817e453a8d19fb3d52a093e3aee68c66aa (patch) | |
tree | 4f1fb2243f08ff503575d5601399599b9517fdd2 /t | |
parent | 210bf742b92bde3baf1ca6d7af9f847d052a0691 (diff) | |
download | ikiwiki-b0a35c817e453a8d19fb3d52a093e3aee68c66aa.tar ikiwiki-b0a35c817e453a8d19fb3d52a093e3aee68c66aa.tar.gz |
Force use of $config{url} as top URL in w3mmode
Diffstat (limited to 't')
-rwxr-xr-x | t/relativity.t | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/t/relativity.t b/t/relativity.t index 8903d03cc..0f7d014c5 100755 --- a/t/relativity.t +++ b/t/relativity.t @@ -521,11 +521,8 @@ run(["./t/tmp/ikiwiki.cgi"], \undef, \$content, init => sub { %bits = parse_cgi_content($content); like($bits{tophref}, qr{^(?:\Q$pwd\E/t/tmp/out|\.)/$}); like($bits{cgihref}, qr{^(?:file://)?/\$LIB/ikiwiki-w3m.cgi/ikiwiki.cgi$}); -TODO: { -local $TODO = "should be file:///"; like($bits{basehref}, qr{^(?:(?:file:)?//)?\Q$pwd\E/t/tmp/out/$}); like($bits{stylehref}, qr{^(?:(?:(?:file:)?//)?\Q$pwd\E/t/tmp/out|\.)/style.css$}); -} ####################################################################### # site 6: we're behind a reverse-proxy |