summaryrefslogtreecommitdiff
path: root/git-add--interactive.perl
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-08-07 13:04:18 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-07 10:35:18 -0700
commitbed67874e235e8f128607728f9a03c71e92cb955 (patch)
treecf3778ae05b35c38c07dd991920e3d9a634cb2b5 /git-add--interactive.perl
parentstrbuf: support long paths w/o read rights in strbuf_getcwd() on FreeBSD (diff)
downloadtgif-bed67874e235e8f128607728f9a03c71e92cb955.tar.xz
t0001: skip test with restrictive permissions if getpwd(3) respects them
The sub-test "init in long base path" in t0001 checks the ability to handle long base paths with restrictive permissions (--x). On OpenBSD getcwd(3) fails in that case even for short paths. Check the two aspects separately by trying to use a long base path both with and without execute-only permissions. Only attempt the former if we know that getcwd(3) doesn't care. Original-patch-by: David Coppa <dcoppa@openbsd.org> Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-add--interactive.perl')
0 files changed, 0 insertions, 0 deletions