[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn commit: r1709319 - /subversion/trunk/subversion/tests/svn_test_fs.c

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 19 Oct 2015 02:00:27 +0200

> -----Original Message-----
> From: stefan2_at_apache.org [mailto:stefan2_at_apache.org]
> Sent: zondag 18 oktober 2015 23:00
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1709319 -
> /subversion/trunk/subversion/tests/svn_test_fs.c
>
> Author: stefan2
> Date: Sun Oct 18 20:59:57 2015
> New Revision: 1709319
>
> URL: http://svn.apache.org/viewvc?rev=1709319&view=rev
> Log:
> Fix test suite to consistenly apply FS configuration settings when
> creating new repos. This fixes the FSX tests.
>
> * subversion/tests/svn_test_fs.c
> (svn_test__create_fs2): Apply the same config when reopening a FS
> that we used to create it. That includes
> cache settings, for instance.

Shouldn't it read that setting from the config that we created a few lines above?

        Bert

>
> Modified:
> subversion/trunk/subversion/tests/svn_test_fs.c
>
> Modified: subversion/trunk/subversion/tests/svn_test_fs.c
> URL:
> http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test
> _fs.c?rev=1709319&r1=1709318&r2=1709319&view=diff
> ==========================================================
> ====================
> --- subversion/trunk/subversion/tests/svn_test_fs.c (original)
> +++ subversion/trunk/subversion/tests/svn_test_fs.c Sun Oct 18 20:59:57
> 2015
> @@ -195,7 +195,7 @@ svn_test__create_fs2(svn_fs_t **fs_p,
> SVN_ERR(maybe_install_fs_conf(*fs_p, opts, &must_reopen, pool));
> if (must_reopen)
> {
> - SVN_ERR(svn_fs_open2(fs_p, name, NULL, pool, pool));
> + SVN_ERR(svn_fs_open2(fs_p, name, fs_config, pool, pool));
> svn_fs_set_warning_func(*fs_p, fs_warning_handler, NULL);
> }
>
>
Received on 2015-10-19 02:00:39 CEST

This is an archived mail posted to the Subversion Dev mailing list.