Checkout
cmpilato
committed
on 14 Nov 08
Bang support for --server-minor-version testing into the C test
framework, and use it in the FS and Repos tests.

NOTE: Only one failure th… Show more
Bang support for --server-minor-version testing into the C test

framework, and use it in the FS and Repos tests.

NOTE:  Only one failure that I didn't expect turned up:

  $ ./fs-test --server-minor-version=4 --fs-type=fsfs

  ...

  subversion/tests/libsvn_fs/fs-test.c:369: (apr_err=160000)

  svn_tests: the transaction name '0-3' was reused

  FAIL:  lt-fs-test 5: check that transaction names are not reused

  ...

* subversion/tests/svn_test.h

 (svn_test_opts_t): Add server_minor_version.

* subversion/tests/svn_test_main.c

 (server_minor_version_opt): New enum.

 (cl_options): Add bits for new --server-minor-version option.

 (main): Add handling of new --server-minor-version option.

* subversion/tests/svn_test_fs.h

 (svn_test__create_bdb_fs): Add 'opts' parameter.

* subversion/tests/svn_test_fs.c

 (make_fs_config, create_fs): Add 'server_minor_version' parameter

   and handling.

 (svn_test__create_bdb_fs): Add 'opts' parameter, and update call to

   create_fs().

 (svn_test__create_fs, svn_test__create_repos): Update call to create_fs().

* subversion/tests/libsvn_fs/fs-test.c

 (node_origin_rev): Bail (with success) when testing BDB with

   server-minor-version 4.

* subversion/tests/libsvn_repos/repos-test.c

 (node_location_segments): Bail (with success) when testing BDB with

   server-minor-version 4.

* subversion/tests/libsvn_fs_base/changes-test.c,

* subversion/tests/libsvn_fs_base/fs-base-test.c,

* subversion/tests/libsvn_fs_base/strings-reps-test.c

 Update calls to svn_test__create_bdb_fs().

Show less