summaryrefslogtreecommitdiffstats
path: root/testserver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'testserver.pl')
-rwxr-xr-xtestserver.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/testserver.pl b/testserver.pl
index af4ba67e7..108a19ac2 100755
--- a/testserver.pl
+++ b/testserver.pl
@@ -107,8 +107,8 @@ Check your webserver configuration and try again.\n";
# Try to execute a cgi script
my $response = fetch($ARGV[0] . "/testagent.cgi");
-if ($response =~ /^OK/) {
- print "TEST-OK Webserver is executing CGIs.\n";
+if ($response =~ /^OK (.*)$/) {
+ print "TEST-OK Webserver is executing CGIs via $1.\n";
} elsif ($response =~ /^#!/) {
print
"TEST-FAILED Webserver is fetching rather than executing CGI files.