diff options
author | Elijah Newren <newren@gmail.com> | 2019-12-10 20:00:20 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-11 12:23:23 -0800 |
commit | 452efd11fbf607ad12854edf1488112a7e4790d2 (patch) | |
tree | 35f85584f0f2de60e82b70c30236c92bf3bba1b5 /t/t4203-mailmap.sh | |
parent | Git 2.24 (diff) | |
download | tgif-452efd11fbf607ad12854edf1488112a7e4790d2.tar.xz |
t3011: demonstrate directory traversal failures
Add several tests demonstrating directory traversal failures of various
sorts in dir.c (and one similar looking test that turns out to be a
git_fnmatch bug). A lot of these tests look like near duplicates of
each other, but an optimization path in dir.c to pre-descend into a
common prefix and the specialized treatment of trailing slashes in dir.c
mean the tiny differences are sometimes important and potentially cause
different codepaths to be explored.
Of the 7 failing tests, 2 are new to git-2.24.0 (tweaked by side effects
of the en/clean-nested-with-ignored-topic); the other 5 also failed
under git-2.23.0 and earlier.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4203-mailmap.sh')
0 files changed, 0 insertions, 0 deletions