summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2494_Regression
diff options
context:
space:
mode:
authormitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-07-14 16:03:37 +0000
committermitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-07-14 16:03:37 +0000
commite32e1efd2285b33a2e510c3e997599bc72fe25fd (patch)
tree00ba3b92853ec629745ba9678a5ae368a6caba3c /TAO/tests/Bug_2494_Regression
parent02033c7fd241178a8fd99128a8b441c3f9a56eec (diff)
downloadATCD-e32e1efd2285b33a2e510c3e997599bc72fe25fd.tar.gz
Fri Jul 14 16:01:38 UTC 2006 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'TAO/tests/Bug_2494_Regression')
-rw-r--r--TAO/tests/Bug_2494_Regression/client.cpp4
-rwxr-xr-xTAO/tests/Bug_2494_Regression/run_test.pl4
2 files changed, 6 insertions, 2 deletions
diff --git a/TAO/tests/Bug_2494_Regression/client.cpp b/TAO/tests/Bug_2494_Regression/client.cpp
index cb68345bc48..25d1df2ae3d 100644
--- a/TAO/tests/Bug_2494_Regression/client.cpp
+++ b/TAO/tests/Bug_2494_Regression/client.cpp
@@ -86,7 +86,9 @@ struct Worker : ACE_Task_Base
}
catch (CORBA::Exception& ex)
{
- ACE_PRINT_EXCEPTION (ex, "Exception caught:");
+ ACE_DEBUG ((LM_ERROR,
+ ACE_TEXT ("(%P|%t) Exception caught: \n%s\n"),
+ ACE_TEXT_CHAR_TO_TCHAR (ex._info ().c_str ())));
return 1;
}
}
diff --git a/TAO/tests/Bug_2494_Regression/run_test.pl b/TAO/tests/Bug_2494_Regression/run_test.pl
index b622265a7de..1183cac469c 100755
--- a/TAO/tests/Bug_2494_Regression/run_test.pl
+++ b/TAO/tests/Bug_2494_Regression/run_test.pl
@@ -33,7 +33,9 @@ if (PerlACE::waitforfile_timed ($iorfile,
$CL->Spawn ();
#Client will not terminate on its own, kill it after 30 seconds
$CL->TimedWait (30);
-$CL->Kill ();
+$CL->Kill (1);
+#The parameter '1' (above) indicates that an error return value should not
+#cause this test to fail.
print "***Client has been killed***\n";