diff options
author | Vicent Marti <vicent@github.com> | 2014-06-26 18:24:13 +0200 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-06-26 18:24:13 +0200 |
commit | 0145afe635b57bfbc3950030a572187b0644c0c5 (patch) | |
tree | 96c3888135c4eec2f926ebff9f40dbab7e97c4c5 | |
parent | 9c46409d38b36ba822b4ddf6e5a00256f07b116b (diff) | |
parent | f4046267dc7139c814e1a615d1a3c9857444749b (diff) | |
download | libgit2-0145afe635b57bfbc3950030a572187b0644c0c5.tar.gz |
Merge pull request #2445 from ethomson/checkout_conflict_test
checkout::conflict tests: only test owner mode
-rw-r--r-- | tests/checkout/conflict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkout/conflict.c b/tests/checkout/conflict.c index 2cb7c224d..16cc0943b 100644 --- a/tests/checkout/conflict.c +++ b/tests/checkout/conflict.c @@ -169,7 +169,7 @@ static void ensure_workdir_mode(const char *path, int mode) git_buf_joinpath(&fullpath, git_repository_workdir(g_repo), path)); cl_git_pass(p_stat(git_buf_cstr(&fullpath), &st)); - cl_assert_equal_i(mode, st.st_mode); + cl_assert_equal_i((mode & S_IRWXU), (st.st_mode & S_IRWXU)); git_buf_free(&fullpath); #endif |