summaryrefslogtreecommitdiffstats
path: root/testserver.pl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-10-29 22:46:35 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-10-29 22:46:35 +0100
commit1c05baf4516cdc491b5799ee3081b45ce37895ae (patch)
tree4ed20532fdaf39e2a2d59a5d46224100b218fae6 /testserver.pl
parentf1a2984c7baf6958542e7b401afed6c73078f657 (diff)
downloadbugzilla-1c05baf4516cdc491b5799ee3081b45ce37895ae.tar.gz
bugzilla-1c05baf4516cdc491b5799ee3081b45ce37895ae.tar.xz
Bug 800964: Unknown dot(.) is present instead of 'T' in console while running testserver.pl on Windows
r=wurblzap a=LpSolit
Diffstat (limited to 'testserver.pl')
-rwxr-xr-xtestserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/testserver.pl b/testserver.pl
index 3eb25a13b..fc3b5b0ab 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 =~ /^#!/) {