Should this test pass?
From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-01-09 08:58:48 CET
Hi All,
I rewrote it as a C test, just to make sure that Ruby wasn't involved
Perhaps I've screwed up the build somehow? Screwed up somehow that
Thanks
--
Joe Swatosh
-----------------------------------------------------
static svn_error_t *
destroy_bdb_fs_type(const char **msg,
svn_boolean_t msg_only,
svn_test_opts_t *opts,
apr_pool_t *pool)
{
svn_fs_t *fs;
const char *fs_type = "bdb";
const char *name = "test-bdb-destruction";
apr_hash_t *fs_config = apr_hash_make(pool);
apr_hash_set(fs_config, SVN_FS_CONFIG_BDB_TXN_NOSYNC,
APR_HASH_KEY_STRING, "1");
apr_hash_set(fs_config, SVN_FS_CONFIG_FS_TYPE,
APR_HASH_KEY_STRING,
fs_type);
*msg = "create a bdb file system then destroy it";
if (msg_only)
return SVN_NO_ERROR;
SVN_ERR(svn_fs_create(&fs, name, fs_config, pool));
SVN_ERR(svn_fs_delete_fs(name, pool));
return SVN_NO_ERROR;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 9 08:59:00 2007
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.