logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 3265eaeecf81f4de84c61ab29ffdf53c2e143b5e
parent 83990b76556d85e5dc0fc8914fda611ed83c3fa7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 19 Feb 2022 08:51:56 +0100

test-bin/env:noargs: atf_expect_fail with gentoo sandbox(1)

Diffstat:

Mtest-bin/env2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/test-bin/env b/test-bin/env @@ -1,6 +1,8 @@ #!/usr/bin/env atf-sh atf_test_case noargs noargs_body() { + [ "${LD_PRELOAD}" = "libsandbox.so" ] && atf_expect_fail "sandbox (gentoo) interferes with the environment" + atf_check -o "inline:FOO=BAR\n" env -i FOO=BAR ../bin/env }