summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/Multithreading/ThreadPerConnection
diff options
context:
space:
mode:
authormsmit <msmit@remedy.nl>2011-09-16 11:59:06 +0000
committermsmit <msmit@remedy.nl>2011-09-16 11:59:06 +0000
commit4cb2ab50da96098f9738b424cb3c664c8f7d1c44 (patch)
treef031918e5acab67f199431c6982ed21127ae840f /TAO/DevGuideExamples/Multithreading/ThreadPerConnection
parent6463808f884e9ca88a5cea3ab97e33adc0e73a95 (diff)
downloadATCD-4cb2ab50da96098f9738b424cb3c664c8f7d1c44.tar.gz
Fri Sep 16 12:01:35 UTC 2011 Marcel Smit <msmit@remedy.nl>
* DevGuideExamples/Multithreading/ThreadPerConnection/run_test.pl: * tests/CSD_Collocation/run_test.pl: * tests/Connection_Purging/run_test.pl: * tests/Hang_Shutdown/run_test.pl: * tests/LongUpcalls/run_test.pl: Copy only those configuration files that are needed by the targets. We don't want to solve this in the test framework; the script knows which configuration files should be copied.
Diffstat (limited to 'TAO/DevGuideExamples/Multithreading/ThreadPerConnection')
-rwxr-xr-xTAO/DevGuideExamples/Multithreading/ThreadPerConnection/run_test.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/run_test.pl b/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/run_test.pl
index 3c8b6d058ce..67e95fc1752 100755
--- a/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/run_test.pl
+++ b/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/run_test.pl
@@ -39,6 +39,12 @@ $client4->DeleteFile($iorbase);
my $hostname = $server->HostName ();
+# Copy configuration file first
+if ($server->PutFile ($svcbase) == -1) {
+ print STDERR "ERROR: cannot set file <$server_svcfile>\n";
+ exit 1;
+}
+
$SV = $server->CreateProcess ("MessengerServer",
"-ORBdebuglevel $debug_level " .
"-ORBSvcConf $server_svcfile " .