summaryrefslogtreecommitdiff
path: root/tests/path/dotgit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-12-10 20:39:38 +0100
committerGitHub <noreply@github.com>2019-12-10 20:39:38 +0100
commit45c6187cbfdcfee2bcf59a1ed3a853065142f203 (patch)
treeb3f714ab9fab46c3f879a6fcb55ef6ab173701ed /tests/path/dotgit.c
parent3828d7afdd08b595584048e8e4dab6ddd4506ed1 (diff)
parent34c929572a635a6599dc8ff06a87c7c0a324caff (diff)
downloadlibgit2-maint/v0.27.tar.gz
Merge pull request #5329 from pks-t/ethomson/v0.27.10v0.27.10maint/v0.27
Security release v0.27.10
Diffstat (limited to 'tests/path/dotgit.c')
-rw-r--r--tests/path/dotgit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/path/dotgit.c b/tests/path/dotgit.c
index 20e585edb..425392403 100644
--- a/tests/path/dotgit.c
+++ b/tests/path/dotgit.c
@@ -116,4 +116,5 @@ void test_path_dotgit__dotgit_modules_symlink(void)
cl_assert_equal_b(true, git_path_isvalid(NULL, ".gitmodules", 0, GIT_PATH_REJECT_DOT_GIT_HFS|GIT_PATH_REJECT_DOT_GIT_NTFS));
cl_assert_equal_b(false, git_path_isvalid(NULL, ".gitmodules", S_IFLNK, GIT_PATH_REJECT_DOT_GIT_HFS));
cl_assert_equal_b(false, git_path_isvalid(NULL, ".gitmodules", S_IFLNK, GIT_PATH_REJECT_DOT_GIT_NTFS));
+ cl_assert_equal_b(false, git_path_isvalid(NULL, ".gitmodules . .::$DATA", S_IFLNK, GIT_PATH_REJECT_DOT_GIT_NTFS));
}