diff options
author | Vicent Martà <tanoku@gmail.com> | 2011-08-10 12:55:39 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2011-08-10 12:55:39 -0700 |
commit | 3b76be1646af55f3c1d500160c21585d9dce4e61 (patch) | |
tree | c04f30bdfab8af588cc12021f6922ec19674b0bd | |
parent | c24ceffe61f15e0cb499de80b052a906ea5dc7cc (diff) | |
parent | befae28f7bee2f0ca3445e0350121f1d6fa973cc (diff) | |
download | libgit2-3b76be1646af55f3c1d500160c21585d9dce4e61.tar.gz |
Merge pull request #363 from schu/test-discover0
t12-repo.c: fix failing test discover0
-rw-r--r-- | tests/t12-repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t12-repo.c b/tests/t12-repo.c index f819582fa..cc8942f40 100644 --- a/tests/t12-repo.c +++ b/tests/t12-repo.c @@ -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); |