Project

General

Profile

Actions

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 almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-08-13
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by Eric Davis over 16 years ago

I'm not sure if this is relevant but the testing documentation states:

Creating test repositories

===================

mkdir tmp/test

....

Found in doc/RUNNING_TESTS

Actions #2

Updated by Simone Carletti over 16 years ago

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.

Actions #3

Updated by Toshi MARUYAMA almost 14 years ago

  • Category set to SCM
  • Assignee deleted (Jean-Philippe Lang)
Actions #4

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from New to Closed

tmp/test/empty is added at r2784.

Actions

Also available in: Atom PDF