From: Frédéric Buclin Date: Mon, 29 Oct 2012 21:46:35 +0000 (+0100) Subject: Bug 800964: Unknown dot(.) is present instead of 'T' in console while running testser... X-Git-Tag: bugzilla-4.5.1~333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c05baf4516cdc491b5799ee3081b45ce37895ae;p=thirdparty%2Fbugzilla.git Bug 800964: Unknown dot(.) is present instead of 'T' in console while running testserver.pl on Windows r=wurblzap a=LpSolit --- diff --git a/testserver.pl b/testserver.pl index 3eb25a13bd..fc3b5b0ab9 100755 --- a/testserver.pl +++ b/testserver.pl @@ -16,6 +16,7 @@ use lib qw(. lib); use Bugzilla; use Bugzilla::Constants; +use Bugzilla::Util; use Socket; @@ -97,7 +98,7 @@ Check your web server configuration and try again."; } # 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 (.*)$/) { say "TEST-OK Webserver is executing CGIs via $1."; } elsif ($response =~ /^#!/) {