Commit 1c05baf4 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 800964: Unknown dot(.) is present instead of 'T' in console while running…

Bug 800964: Unknown dot(.) is present instead of 'T' in console while running testserver.pl on Windows r=wurblzap a=LpSolit
parent f1a2984c
...@@ -16,6 +16,7 @@ use lib qw(. lib); ...@@ -16,6 +16,7 @@ use lib qw(. lib);
use Bugzilla; use Bugzilla;
use Bugzilla::Constants; use Bugzilla::Constants;
use Bugzilla::Util;
use Socket; use Socket;
...@@ -97,7 +98,7 @@ Check your web server configuration and try again."; ...@@ -97,7 +98,7 @@ Check your web server configuration and try again.";
} }
# Try to execute a cgi script # Try to execute a cgi script
my $response = fetch($ARGV[0] . "/testagent.cgi"); my $response = clean_text(fetch($ARGV[0] . "/testagent.cgi"));
if ($response =~ /^OK (.*)$/) { if ($response =~ /^OK (.*)$/) {
say "TEST-OK Webserver is executing CGIs via $1."; say "TEST-OK Webserver is executing CGIs via $1.";
} elsif ($response =~ /^#!/) { } elsif ($response =~ /^#!/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment