Project

General

Profile

Actions

Patch #1782

closed

Unit tests fail when using a Git clone of the original SVN repository

Patch #1782: Unit tests fail when using a Git clone of the original SVN repository

Added by Simone Carletti over 18 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-

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

Updated by Eric Davis over 18 years ago Actions #1

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

Creating test repositories

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

mkdir tmp/test

....

Found in doc/RUNNING_TESTS

Updated by Simone Carletti over 18 years ago Actions #2

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.

Updated by Toshi MARUYAMA almost 16 years ago Actions #3

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

Updated by Toshi MARUYAMA almost 16 years ago Actions #4

  • Status changed from New to Closed

tmp/test/empty is added at r2784.

Actions

Also available in: PDF Atom