X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a147f5349d33b27b6eeac3279cba289c952ee835..04af50eb7f52b4bd63b23791a72e699b19a20f98:/t/relativity.t diff --git a/t/relativity.t b/t/relativity.t index 1dda19687..0b8b6eb4b 100755 --- a/t/relativity.t +++ b/t/relativity.t @@ -381,7 +381,7 @@ sub test_site5_w3mmode { my $redirect = run_cgi(goto => 1, PATH_INFO => '/ikiwiki.cgi', SCRIPT_NAME => '/cgi-bin/ikiwiki-w3m.cgi'); like($redirect, qr{^Content-type: text/plain\r?\n}m); - like($redirect, qr{^W3m-control: GOTO \Q$pwd\E/t/tmp/out/a/b/c/\r?\n}m); + like($redirect, qr{^W3m-control: GOTO (?:file://)?\Q$pwd\E/t/tmp/out/a/b/c/\r?\n}m); } sub test_site6_behind_reverse_proxy {