diff options
author | Jürg Billeter <j@bitron.ch> | 2019-11-26 11:51:43 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-12-17 14:18:11 +0100 |
commit | aede9560744cbdcd3003ef1b1228430ffc9db18b (patch) | |
tree | 6192ece0017b033eb608f02e82487f2c7c2b7a5d | |
parent | e1eda9018311025651e647aaf08125929dd122a1 (diff) | |
download | buildstream-aede9560744cbdcd3003ef1b1228430ffc9db18b.tar.gz |
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
-rw-r--r-- | tests/integration/filter.py | 6 |
1 files changed, 5 insertions, 1 deletions
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) |