commit: c06402da2e61696c5f1574a53975b0841e2a3b43
parent 3df989fa876c2b72bd7714574a17ef4ff706728d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 19 Feb 2022 00:01:58 +0100
test-bin/env:iflag: atf_expect_fail when sandbox(1) is used
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/test-bin/env b/test-bin/env
@@ -11,6 +11,8 @@ badarg_body() {
atf_test_case iflag
iflag_body() {
+ [ "${LD_PRELOAD}" = "libsandbox.so" ] && atf_expect_fail "sandbox (gentoo) interferes with the environment"
+
atf_check -o "inline:FOO=BAR\n" ../bin/env -i FOO=BAR ../bin/env
atf_check -o "inline:FOO=BAR\n" ../bin/env -i FOO=BAR
atf_check -o "not-inline:FOO=BAR\n" ../bin/env FOO=BAR ../bin/env