summaryrefslogtreecommitdiff
path: root/tests/HandleExhaustion/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/HandleExhaustion/run_test.pl')
-rwxr-xr-xtests/HandleExhaustion/run_test.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/HandleExhaustion/run_test.pl b/tests/HandleExhaustion/run_test.pl
index b63d8cb3c3c..3d2dc31b097 100755
--- a/tests/HandleExhaustion/run_test.pl
+++ b/tests/HandleExhaustion/run_test.pl
@@ -62,6 +62,11 @@ if ($server_status != 0) {
$status = 1;
}
+if ($server->GetFile ($logbase) == -1) {
+ print STDERR "ERROR: cannot retrieve file <$server_logfile>\n";
+ exit 1;
+}
+
if ($status == 0) {
if (open(FH, $server_logfile)) {
my $error_achieved = 0;