Commit 3b76be16 by Vicent Martí

Merge pull request #363 from schu/test-discover0

t12-repo.c: fix failing test discover0
parents c24ceffe befae28f
......@@ -388,8 +388,8 @@ BEGIN_TEST(discover0, "test discover")
char found_path[GIT_PATH_MAX];
int mode = 0755;
must_pass(append_ceiling_dir(ceiling_dirs, TEMP_REPO_FOLDER));
git_futils_mkdir_r(DISCOVER_FOLDER, mode);
must_pass(append_ceiling_dir(ceiling_dirs, TEMP_REPO_FOLDER));
must_be_true(git_repository_discover(repository_path, sizeof(repository_path), DISCOVER_FOLDER, 0, ceiling_dirs) == GIT_ENOTAREPO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment