[glib-networking/mcatanzaro/tls1.2] Sabotague tests



commit a3b3cf29978b1186b1ead8d9fdd8c2b7bd255802
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Aug 19 14:17:24 2019 -0500

    Sabotague tests

 tls/tests/connection.c | 4 ++++
 tls/tests/meson.build  | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 030d0ad..c8d3710 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -2455,6 +2455,7 @@ main (int   argc,
 
   g_assert_true (g_ascii_strcasecmp (G_OBJECT_TYPE_NAME (g_tls_backend_get_default ()), "GTlsBackend" 
BACKEND) == 0);
 
+#if 0
   g_test_add ("/tls/" BACKEND "/connection/basic", TestConnection, NULL,
               setup_connection, test_basic_connection, teardown_connection);
   g_test_add ("/tls/" BACKEND "/connection/verified", TestConnection, NULL,
@@ -2475,8 +2476,10 @@ main (int   argc,
               setup_connection, test_client_auth_connection, teardown_connection);
   g_test_add ("/tls/" BACKEND "/connection/client-auth-rehandshake", TestConnection, NULL,
               setup_connection, test_client_auth_rehandshake, teardown_connection);
+#endif
   g_test_add ("/tls/" BACKEND "/connection/client-auth-failure", TestConnection, NULL,
               setup_connection, test_client_auth_failure, teardown_connection);
+#if 0
   g_test_add ("/tls/" BACKEND "/connection/client-auth-fail-missing-client-private-key", TestConnection, 
NULL,
               setup_connection, test_client_auth_fail_missing_client_private_key, teardown_connection);
   g_test_add ("/tls/" BACKEND "/connection/client-auth-request-cert", TestConnection, NULL,
@@ -2529,6 +2532,7 @@ main (int   argc,
               setup_connection, test_sync_op_during_handshake, teardown_connection);
   g_test_add ("/tls/" BACKEND "/connection/socket-timeout", TestConnection, NULL,
               setup_connection, test_socket_timeout, teardown_connection);
+#endif
 
   ret = g_test_run ();
 
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index fefefab..c7d7c31 100644
--- a/tls/tests/meson.build
+++ b/tls/tests/meson.build
@@ -75,9 +75,9 @@ foreach backend: backends
     ]
 
     # FIXME: OpenSSL tests are disabled until we fix https://gitlab.gnome.org/GNOME/glib-networking/issues/54
-    if backend != 'openssl'
-      test(program_name, exe, env: test_envs)
-    endif
+    #if backend != 'openssl'
+    #  test(program_name, exe, env: test_envs)
+    #endif
 
     if backend == 'gnutls' and program[0] == 'connection' or program[0] == 'dtls-connection'
       # Run the tests again, this time with TLS 1.3 disabled so we can test TLS 1.2.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]