/[Apache-SVN]
ViewVC logotype

Revision 1771118


Jump to revision: Previous Next
Author: julianfoad
Date: Thu Nov 24 11:46:13 2016 UTC (7 years, 5 months ago)
Changed paths: 2
Log Message:
Make the test suite work when checked out of a git repository, by not
requiring empty directories.

Subversion's import tests test behavior when importing empty
directories. These empty directories are checked in as part of
our test data. This however breaks our import tests when using
Subversion's Git mirror at git.apache.org, as Git is unable to
version empty directories.

As our tests rely on the fact that these directories are indeed
empty it is not possible to work around the issue by creating a
`.gitkeep` file inside these directories, as is commonly done
with git. Instead, the issue is fixed inside the tests itself by
creating the test data at run time.

* subversion/tests/cmdline/import_tests.py:
  (import_inherited_ignores): Create the tree to be imported at run time.
* subversion/tests/cmdline/import_tests_data
  Delete.

Suggested by: Patrick Steinhardt


Changed paths

Path Details
Directorysubversion/trunk/subversion/tests/cmdline/import_tests.py modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/import_tests_data/ deleted

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26