diff options
author | René Scharfe <l.s.r@web.de> | 2017-08-07 13:04:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-07 10:35:18 -0700 |
commit | bed67874e235e8f128607728f9a03c71e92cb955 (patch) | |
tree | cf3778ae05b35c38c07dd991920e3d9a634cb2b5 /alias.c | |
parent | strbuf: support long paths w/o read rights in strbuf_getcwd() on FreeBSD (diff) | |
download | tgif-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 'alias.c')
0 files changed, 0 insertions, 0 deletions