summaryrefslogtreecommitdiff
path: root/cs/test/Ice/exceptions/Client.cs
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-07-14 05:38:48 +0000
committerMichi Henning <michi@zeroc.com>2004-07-14 05:38:48 +0000
commit9ee36e5afbc59b4c610935de99cb98232152a6e7 (patch)
tree86341cbe50b32ca088ca91ca64b434e117a80264 /cs/test/Ice/exceptions/Client.cs
parentFixed a few formatting issues. (diff)
downloadice-9ee36e5afbc59b4c610935de99cb98232152a6e7.tar.bz2
ice-9ee36e5afbc59b4c610935de99cb98232152a6e7.tar.xz
ice-9ee36e5afbc59b4c610935de99cb98232152a6e7.zip
Removed DOS line endings.
Added work-around for Mono 1.0 WaitOne() bug under Linux.
Diffstat (limited to 'cs/test/Ice/exceptions/Client.cs')
-rwxr-xr-xcs/test/Ice/exceptions/Client.cs88
1 files changed, 44 insertions, 44 deletions
diff --git a/cs/test/Ice/exceptions/Client.cs b/cs/test/Ice/exceptions/Client.cs
index 24af4dd154d..9c1dfc86680 100755
--- a/cs/test/Ice/exceptions/Client.cs
+++ b/cs/test/Ice/exceptions/Client.cs
@@ -7,47 +7,47 @@
//
// **********************************************************************
-
-public class Client
-{
- private static int
- run(string[] args, Ice.Communicator communicator)
- {
- ThrowerPrx thrower = AllTests.allTests(communicator, false);
- thrower.shutdown();
- return 0;
- }
-
- public static void
- Main(string[] args)
- {
- int status = 0;
- Ice.Communicator communicator = null;
-
- try
- {
- communicator = Ice.Util.initialize(ref args);
- status = run(args, communicator);
- }
- catch(System.Exception ex)
- {
- System.Console.WriteLine(ex);
- status = 1;
- }
-
- if(communicator != null)
- {
- try
- {
- communicator.destroy();
- }
- catch(Ice.LocalException ex)
- {
- System.Console.WriteLine(ex);
- status = 1;
- }
- }
-
- System.Environment.Exit(status);
- }
-}
+
+public class Client
+{
+ private static int
+ run(string[] args, Ice.Communicator communicator)
+ {
+ ThrowerPrx thrower = AllTests.allTests(communicator, false);
+ thrower.shutdown();
+ return 0;
+ }
+
+ public static void
+ Main(string[] args)
+ {
+ int status = 0;
+ Ice.Communicator communicator = null;
+
+ try
+ {
+ communicator = Ice.Util.initialize(ref args);
+ status = run(args, communicator);
+ }
+ catch(System.Exception ex)
+ {
+ System.Console.WriteLine(ex);
+ status = 1;
+ }
+
+ if(communicator != null)
+ {
+ try
+ {
+ communicator.destroy();
+ }
+ catch(Ice.LocalException ex)
+ {
+ System.Console.WriteLine(ex);
+ status = 1;
+ }
+ }
+
+ System.Environment.Exit(status);
+ }
+}