is_{hfs,ntfs}_dotgitmodules: add tests
commitdc2d9ba3187fcd0ca8eeab9aa9ddef70cf8627a6
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 12 May 2018 20:16:51 +0000 (12 22:16 +0200)
committerJeff King <peff@peff.net>
Tue, 22 May 2018 03:50:11 +0000 (21 23:50 -0400)
tree83e3049d496dd5e583af640604a0f3ade0563399
parente7cb0b4455c85b53aeba40f88ffddcf6d4002498
is_{hfs,ntfs}_dotgitmodules: add tests

This tests primarily for NTFS issues, but also adds one example of an
HFS+ issue.

Thanks go to Congyi Wu for coming up with the list of examples where
NTFS would possibly equate the filename with `.gitmodules`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Jeff King <peff@peff.net>
t/helper/test-path-utils.c
t/t0060-path-utils.sh