Patch #1782
closed
Unit tests fail when using a Git clone of the original SVN repository
Added by Simone Carletti over 16 years ago.
Updated about 14 years ago.
Description
This patch add compatibility with Git clones of the original SVN repository.
Because Git doesn't store empty folders, you should use mkpath instead of mkdir when parent folder could be empty.
Files
I'm not sure if this is relevant but the testing documentation states:
Creating test repositories
===================
mkdir tmp/test
....
Found in doc/RUNNING_TESTS
Eric Davis wrote:
I'm not sure if this is relevant but the testing documentation states:
Creating test repositories
===================
mkdir tmp/test
....
Found in doc/RUNNING_TESTS
Hi Eric,
I admin I did't realized there was a test documentation in doc folder before you pointed it out.
If you create /tmp/test folder you should probably be safe unless tmp is empty. If so, you should create tmp before.
- Category set to SCM
- Assignee deleted (
Jean-Philippe Lang)
- Status changed from New to Closed
tmp/test/empty is added at r2784.
Also available in: Atom
PDF