summaryrefslogtreecommitdiff
path: root/csharp/test
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-11-05 09:42:25 +0100
committerBenoit Foucher <benoit@zeroc.com>2019-11-05 09:42:25 +0100
commit34d2aa1246ea3f678d3e60b405a53adaece2e872 (patch)
tree165ec4ec1e438cd11772adcd9b6b1221adce609f /csharp/test
parentAdded testing of IceSSL/configuration test on macOS (diff)
downloadice-34d2aa1246ea3f678d3e60b405a53adaece2e872.tar.bz2
ice-34d2aa1246ea3f678d3e60b405a53adaece2e872.tar.xz
ice-34d2aa1246ea3f678d3e60b405a53adaece2e872.zip
Fixed IceSSL/configuration to skip some tests on macOS
Diffstat (limited to 'csharp/test')
-rw-r--r--csharp/test/IceSSL/configuration/AllTests.cs20
1 files changed, 16 insertions, 4 deletions
diff --git a/csharp/test/IceSSL/configuration/AllTests.cs b/csharp/test/IceSSL/configuration/AllTests.cs
index 0c4b7b0a634..184915dec11 100644
--- a/csharp/test/IceSSL/configuration/AllTests.cs
+++ b/csharp/test/IceSSL/configuration/AllTests.cs
@@ -587,8 +587,14 @@ public class AllTests
}
catch(Ice.LocalException ex)
{
- Console.WriteLine(ex.ToString());
- test(false);
+ //
+ // macOS catalina does not check the certificate common name
+ //
+ if(!IceInternal.AssemblyUtil.isMacOS)
+ {
+ Console.WriteLine(ex.ToString());
+ test(false);
+ }
}
fact.destroyServer(server);
comm.destroy();
@@ -774,8 +780,14 @@ public class AllTests
}
catch(Ice.SecurityException ex)
{
- Console.WriteLine(ex.ToString());
- test(false);
+ //
+ // macOS catalina does not check the certificate common name
+ //
+ if(!IceInternal.AssemblyUtil.isMacOS)
+ {
+ Console.WriteLine(ex.ToString());
+ test(false);
+ }
}
fact.destroyServer(server);
comm.destroy();