summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2016-03-29 15:24:49 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2016-03-29 15:24:49 +0200
commit8a5af0e4ec6507a0fff07b03d175ce3a8e87ef4e (patch)
tree65f4b7ffd837e7fbf8e89bcf810145c2864c2266 /TAO/orbsvcs/tests/ImplRepo
parent14f41038b90d1d9c8cfa70c9d72f55f768989147 (diff)
downloadATCD-8a5af0e4ec6507a0fff07b03d175ce3a8e87ef4e.tar.gz
Removed not needed variable
* TAO/orbsvcs/tests/ImplRepo/run_test.pl:
Diffstat (limited to 'TAO/orbsvcs/tests/ImplRepo')
-rwxr-xr-xTAO/orbsvcs/tests/ImplRepo/run_test.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/run_test.pl b/TAO/orbsvcs/tests/ImplRepo/run_test.pl
index 4666785922d..6f288b92c05 100755
--- a/TAO/orbsvcs/tests/ImplRepo/run_test.pl
+++ b/TAO/orbsvcs/tests/ImplRepo/run_test.pl
@@ -18,7 +18,6 @@ my $test_debug_level = '2';
my $num_srvr = 1;
my $replica = 0;
my $all_tests = 0;
-my $server_pid = 0;
foreach my $i (@ARGV) {
if ($i eq '-debug') {
@@ -3254,6 +3253,7 @@ sub get_server_pid
{
my $file = shift;
my $pid = 0;
+ my $server_pid = 0;
open (FILE, $file) or die "Can't open $file: $!";
while (<FILE>) {
chomp;
@@ -3261,7 +3261,7 @@ sub get_server_pid
$server_pid = $pid if ($server_pid == 0);
}
close FILE;
- return $pid;
+ return $server_pid;
}
sub signal_server