summaryrefslogtreecommitdiff
path: root/tests-clar/index/addall.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/index/addall.c')
-rw-r--r--tests-clar/index/addall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/index/addall.c b/tests-clar/index/addall.c
index e6ce463a3..00388ee00 100644
--- a/tests-clar/index/addall.c
+++ b/tests-clar/index/addall.c
@@ -112,7 +112,7 @@ static void check_stat_data(git_index *index, const char *path, bool match)
cl_assert_equal_i_fmt(
GIT_MODE_TYPE(st.st_mode), GIT_MODE_TYPE(entry->mode), "%07o");
cl_assert_equal_b(
- GIT_PERMS_EXECUTABLE(st.st_mode), GIT_PERMS_EXECUTABLE(entry->mode));
+ GIT_PERMS_IS_EXEC(st.st_mode), GIT_PERMS_IS_EXEC(entry->mode));
} else {
/* most things will still match */
cl_assert(st.st_size != entry->file_size);