]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 800964: Unknown dot(.) is present instead of 'T' in console while running testser...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Oct 2012 21:46:35 +0000 (22:46 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Oct 2012 21:46:35 +0000 (22:46 +0100)
r=wurblzap a=LpSolit

testserver.pl

index 3eb25a13bdf071ef31e2709e8b840de92411082e..fc3b5b0ab99ece08911e332301088a0526a754ad 100755 (executable)
@@ -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 =~ /^#!/) {