summaryrefslogtreecommitdiff
path: root/builtin/reset.c
diff options
context:
space:
mode:
authorAdam Dinwoodie <adam@dinwoodie.org>2022-04-08 09:53:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-04-08 19:56:31 (GMT)
commit6d340dfaef25453a7d95a3e3960aea06fe69dbdf (patch)
treef051fa8b0e5b7528590350bfc38b2e83b3a1fa5e /builtin/reset.c
parent48803821b1712687d6e06e9d7a0e911eabecf4d1 (diff)
downloadgit-6d340dfaef25453a7d95a3e3960aea06fe69dbdf.zip
git-6d340dfaef25453a7d95a3e3960aea06fe69dbdf.tar.gz
git-6d340dfaef25453a7d95a3e3960aea06fe69dbdf.tar.bz2
t9902: split test to run on appropriate systems
The "FUNNYNAMES" test prerequisite passes on Cygwin, as the Cygwin file system interface has a workaround for the underlying operating system's lack of support for tabs, newlines or quotes. However, it does not add support for backslash, which is treated as a directory separator, meaning one of the tests added by 48803821b1 ("completion: handle unusual characters for sparse-checkout", 2022-02-07) will fail on Cygwin. To avoid this failure while still getting maximal test coverage, split that test into two: test handling of paths that include tabs on anything that has the FUNNYNAMES prerequisite, but skip testing handling of paths that include backslashes unless both FUNNYNAMES is set and the system is not Cygwin. It might be nice to have more granularity than "FUNNYNAMES" and its sibling "FUNNIERNAMES" provide, so that tests could be run based on specific individual characters supported by the file system being tested, but that seems like it would make the prerequisite checks in this area much more verbose for very little gain. Signed-off-by: Adam Dinwoodie <adam@dinwoodie.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reset.c')
0 files changed, 0 insertions, 0 deletions