From aede9560744cbdcd3003ef1b1228430ffc9db18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Tue, 26 Nov 2019 11:51:43 +0100 Subject: tests/integration/filter.py: xfail for buildbox-run-userchroot The root directory is not allowed to be writable by userchroot. + sh -e -c touch /foo touch: /foo: Permission denied --- tests/integration/filter.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/integration/filter.py b/tests/integration/filter.py index 2fca8957c..12061fe7a 100644 --- a/tests/integration/filter.py +++ b/tests/integration/filter.py @@ -7,7 +7,7 @@ import pytest from buildstream.testing import cli # pylint: disable=unused-import from buildstream.testing.integration import assert_contains -from buildstream.testing._utils.site import HAVE_SANDBOX +from buildstream.testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN pytestmark = pytest.mark.integration @@ -18,6 +18,10 @@ DATA_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "project") @pytest.mark.datafiles(os.path.join(DATA_DIR)) @pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox") +@pytest.mark.xfail( + HAVE_SANDBOX == "buildbox-run" and BUILDBOX_RUN == "buildbox-run-userchroot", + reason="Root directory not writable with userchroot", +) def test_filter_pass_integration(datafiles, cli): project = str(datafiles) -- cgit v1.2.1