diff options
author | Adam Dinwoodie <adam@dinwoodie.org> | 2022-04-08 10:53:53 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-08 12:56:31 -0700 |
commit | 6d340dfaef25453a7d95a3e3960aea06fe69dbdf (patch) | |
tree | f051fa8b0e5b7528590350bfc38b2e83b3a1fa5e /kwset.h | |
parent | completion: handle unusual characters for sparse-checkout (diff) | |
download | tgif-6d340dfaef25453a7d95a3e3960aea06fe69dbdf.tar.xz |
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 'kwset.h')
0 files changed, 0 insertions, 0 deletions