summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/GettingStarted/run_test.pl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-10-28 11:20:28 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-10-28 11:20:28 +0000
commite688e55977762718613578d398c6086fd28444ca (patch)
tree6b47887326c6b2226f2b8d95345ef6b41ebf3139 /TAO/DevGuideExamples/GettingStarted/run_test.pl
parente98d31850d25f32be06a9994f2d7ddd9a2654a52 (diff)
downloadATCD-e688e55977762718613578d398c6086fd28444ca.tar.gz
Tue Oct 28 11:20:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/DevGuideExamples/GettingStarted/run_test.pl')
-rw-r--r--TAO/DevGuideExamples/GettingStarted/run_test.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/DevGuideExamples/GettingStarted/run_test.pl b/TAO/DevGuideExamples/GettingStarted/run_test.pl
index 24ed0279171..9f97271d6b7 100644
--- a/TAO/DevGuideExamples/GettingStarted/run_test.pl
+++ b/TAO/DevGuideExamples/GettingStarted/run_test.pl
@@ -1,4 +1,4 @@
-// $Id$
+# $Id$
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
@@ -18,27 +18,27 @@ $S->Spawn();
if (PerlACE::waitforfile_timed ($ior, $PerlACE::wait_interval_for_process_creation) == -1) {
print STDERR "ERROR: cannot find file <$ior>\n";
- $S->Kill();
+ $S->Kill();
unlink $ior;
exit 1;
}
# start MessengerClient
-$C = new PerlACE::Process("MessengerClient");
+$C = new PerlACE::Process("MessengerClient");
$C->Spawn();
$CRET = $C->WaitKill(15);
$S->Kill();
-# clean-up
+# clean-up
unlink $ior;
if ($CRET != 0) {
print STDERR "ERROR: Client returned <$CRET>\n";
exit 1 ;
-}
+}
exit 0;