summaryrefslogtreecommitdiff
path: root/ACE/protocols/tests/HTBP/ping/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/tests/HTBP/ping/run_test.pl')
-rwxr-xr-xACE/protocols/tests/HTBP/ping/run_test.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/ACE/protocols/tests/HTBP/ping/run_test.pl b/ACE/protocols/tests/HTBP/ping/run_test.pl
index d5592ee3f26..aeac1a9ad14 100755
--- a/ACE/protocols/tests/HTBP/ping/run_test.pl
+++ b/ACE/protocols/tests/HTBP/ping/run_test.pl
@@ -24,7 +24,12 @@ my $CL = $target2->CreateProcess ("client", " -h $host -p $port");
$target1->DeleteFile ($synchbase);
$target2->DeleteFile ($synchbase);
-$SV->Spawn ();
+$server_status = $SV->Spawn ();
+
+if ($server_status != 0) {
+ print STDERR "ERROR: server returned $server_status\n";
+ exit 1;
+}
if ($target1->WaitForFileTimed ($synchbase,
$target1->ProcessStartWaitInterval()) == -1) {