We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d1f31c + 326c9fc commit 8febe65Copy full SHA for 8febe65
tests/checkout/index.c
@@ -298,7 +298,7 @@ void test_checkout_index__options_dir_modes(void)
298
299
/* File-mode test, since we're on the 'dir' branch */
300
cl_git_pass(p_stat("./testrepo/a/b.txt", &st));
301
- cl_assert_equal_i_fmt(st.st_mode, GIT_FILEMODE_BLOB_EXECUTABLE, "%07o");
+ cl_assert_equal_i_fmt(st.st_mode, GIT_FILEMODE_BLOB_EXECUTABLE & ~um, "%07o");
302
303
git_commit_free(commit);
304
}
0 commit comments