Author: rhuijben
Date: Sun Feb  8 21:42:03 2015
New Revision: 1658260

URL: http://svn.apache.org/r1658260
Log:
* subversion/tests/svn_test_main.c
  (svn_test__init_auth_baton): Disable gnome, gpg, kwallet and keychain
    support in the C tests in an attempt to diagnose the crash on the
    MAC buildbot.

Modified:
    subversion/trunk/subversion/tests/svn_test_main.c

Modified: subversion/trunk/subversion/tests/svn_test_main.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test_main.c?rev=1658260&r1=1658259&r2=1658260&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/svn_test_main.c (original)
+++ subversion/trunk/subversion/tests/svn_test_main.c Sun Feb  8 21:42:03 2015
@@ -695,13 +695,27 @@ svn_error_t *
 svn_test__init_auth_baton(svn_auth_baton_t **ab,
                           apr_pool_t *result_pool)
 {
+  svn_config_t *cfg_config;
+
+  SVN_ERR(svn_config_create2(&cfg_config, FALSE, FALSE, result_pool));
+
+  /* Disable the crypto backends that might not be entirely
+     threadsafe and/or compatible with running headless.
+
+     The windows system is just our own files, but then with user-key
+     encrypted data inside. */
+  svn_config_set(cfg_config,
+                 SVN_CONFIG_SECTION_AUTH,
+                 SVN_CONFIG_OPTION_PASSWORD_STORES,
+                 "windows-cryptoapi");
+
   SVN_ERR(svn_cmdline_create_auth_baton(ab,
                                         TRUE  /* non_interactive */,
                                         "jrandom", "rayjandom",
                                         NULL,
                                         TRUE  /* no_auth_cache */,
                                         FALSE /* trust_server_cert */,
-                                        NULL, NULL, NULL, result_pool));
+                                        cfg_config, NULL, NULL, result_pool));
 
   return SVN_NO_ERROR;
 }


Reply via email to