diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-10-10 10:41:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-20 09:19:05 -0700 |
commit | 76e368c3780810b02b91d07254762d10f20f5ed6 (patch) | |
tree | e8c637e3e9270dc2d854e9e2ca5580ba7706b8d9 /Documentation/technical/api-hashmap.txt | |
parent | t3700-add: do not check working tree file mode without POSIXPERM (diff) | |
download | tgif-76e368c3780810b02b91d07254762d10f20f5ed6.tar.xz |
t3700: fix broken test under !SANITY
An "add --chmod=+x" test recently added by 610d55af0f ("add: modify
already added files when --chmod is given", 2016-09-14) used "xfoo3"
as a test file. The paths xfoo[1-3] were used by earlier tests for
symbolic links but they were expected to have been removed by the
time the execution reached this new test.
The removal with "git reset --hard" however happened in a pair of
earlier tests, both of which are protected by POSIXPERM,SANITY
prerequisites. Platforms and test environments that lacked these
would have seen xfoo3 as a leftover symbolic link that points at
somewhere else at this point of the sequence, and the chmod test
would have given a wrong result.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-hashmap.txt')
0 files changed, 0 insertions, 0 deletions