diff options
author | Steve Huston <shuston@riverace.com> | 2008-02-22 00:41:15 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2008-02-22 00:41:15 +0000 |
commit | c9e02046c5ec351b07fd3afc508176a403eda56e (patch) | |
tree | f5116750be459bd620e0c44769187080421c8d49 /TAO/tests | |
parent | 9110f4ce7f0b607ec0bf87c96f6e7783176c373a (diff) | |
download | ATCD-c9e02046c5ec351b07fd3afc508176a403eda56e.tar.gz |
ChangeLogTag:Fri Feb 22 00:39:46 UTC 2008 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'TAO/tests')
-rwxr-xr-x | TAO/tests/AMH_Exceptions/run_test.pl | 2 | ||||
-rwxr-xr-x | TAO/tests/Param_Test/run_test.pl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tests/AMH_Exceptions/run_test.pl b/TAO/tests/AMH_Exceptions/run_test.pl index b76623d1ea7..d49ddedbdf3 100755 --- a/TAO/tests/AMH_Exceptions/run_test.pl +++ b/TAO/tests/AMH_Exceptions/run_test.pl @@ -14,7 +14,7 @@ use PerlACE::TestTarget; # Amount of delay (in seconds) between starting a server and a client. $sleeptime = $PerlACE::wait_interval_for_process_creation; -my $target = PerlACE::TestTarget::create_target ($PerlACE::TestConfig); +$target = PerlACE::TestTarget::create_target($PerlACE::TestConfig) || die "Create target failed\n"; # File used to pass AMH server ior to its clients. # This file name is hard-coded in the server.cpp and client.cpp files diff --git a/TAO/tests/Param_Test/run_test.pl b/TAO/tests/Param_Test/run_test.pl index 097e06da963..a8a900d7880 100755 --- a/TAO/tests/Param_Test/run_test.pl +++ b/TAO/tests/Param_Test/run_test.pl @@ -86,7 +86,7 @@ foreach $type (@types) { } else { - if (PerlACE::waitforfile_timed ($iorfile, $PerlACE::wait_interval_for_process_creation) == -1) { + if ($target->WaitForFileTimed ($iorfile, $PerlACE::wait_interval_for_process_creation) == -1) { print STDERR "ERROR: cannot find file <$iorfile>\n"; $SV->Kill (); exit 1; @@ -109,11 +109,11 @@ foreach $type (@types) { } } - unlink $iorfile; + $target->DeleteFile($iorfile); print STDERR "==== Test for $type finished ===\n"; } -unlink $iorfile; +$target->DeleteFile($iorfile); exit $status; |