]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0060-path-utils.sh
path: also guard `.gitmodules` against NTFS Alternate Data Streams
[thirdparty/git.git] / t / t0060-path-utils.sh
index 3f3357ed9fc23c93d496d2a6e29aadf59932f347..2b8589e921cefc09d18c6701c1b4db2c833c8591 100755 (executable)
@@ -408,6 +408,9 @@ test_expect_success 'match .gitmodules' '
                ~1000000 \
                ~9999999 \
                \
+               .gitmodules:\$DATA \
+               "gitmod~4 . :\$DATA" \
+               \
                --not \
                ".gitmodules x"  \
                ".gitmodules .x" \
@@ -432,7 +435,9 @@ test_expect_success 'match .gitmodules' '
                \
                GI7EB~1 \
                GI7EB~01 \
-               GI7EB~1X
+               GI7EB~1X \
+               \
+               .gitmodules,:\$DATA
 '
 
 test_done