subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r930187 - /subversion/trunk/subversion/tests/libsvn_client/client-test.c
Date Fri, 02 Apr 2010 08:52:01 GMT
Author: rhuijben
Date: Fri Apr  2 08:52:01 2010
New Revision: 930187

URL: http://svn.apache.org/viewvc?rev=930187&view=rev
Log:
* subversion/tests/libsvn_client/client-test.c
  (svn_cmdline_init): On Windows disable the abort dialog from the Visual
    C++ runtime for our commandline tools, by redirecting the information
    to stderr. This allows the testsuite to continue without user
    interaction after all exceptions.

Modified:
    subversion/trunk/subversion/tests/libsvn_client/client-test.c

Modified: subversion/trunk/subversion/tests/libsvn_client/client-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_client/client-test.c?rev=930187&r1=930186&r2=930187&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_client/client-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_client/client-test.c Fri Apr  2 08:52:01 2010
@@ -326,6 +326,11 @@ test_patch(const svn_test_opts_t *opts,
 
   wc_path = svn_dirent_join(wc_path, "test-patch-wc", pool);
   SVN_ERR(svn_io_remove_dir2(wc_path, TRUE, NULL, NULL, pool));
+
+  /* Create an extra directory level to avoid upgrade require message */
+  SVN_ERR(svn_io_dir_make(wc_path, APR_OS_DEFAULT, pool));
+  wc_path = svn_dirent_join(wc_path, "wc", pool);
+
   rev.kind = svn_opt_revision_head;
   peg_rev.kind = svn_opt_revision_unspecified;
   SVN_ERR(svn_client_create_context(&ctx, pool));



Mime
View raw message