summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-11-27 11:19:56 +0100
committerJürg Billeter <j@bitron.ch>2019-12-17 14:18:11 +0100
commite1eda9018311025651e647aaf08125929dd122a1 (patch)
tree25b6ab0f4ecaa4485b597d2be5f7093bf10b5664
parent0e740fabd9ef0ad3b7c32669d2b3cd4a6cf4ae57 (diff)
downloadbuildstream-e1eda9018311025651e647aaf08125929dd122a1.tar.gz
tests/integration/compose.py: xfail for buildbox-run-userchroot
The root directory is not allowed to be writable by userchroot. + sh -e -c mkdir -p /tests mkdir: can't create directory '/tests': Permission denied Command 'mkdir -p /tests' failed with exitcode 1
-rw-r--r--tests/integration/compose.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/integration/compose.py b/tests/integration/compose.py
index 2f38aa66c..f08f2e808 100644
--- a/tests/integration/compose.py
+++ b/tests/integration/compose.py
@@ -8,7 +8,7 @@ from buildstream import _yaml
from buildstream.testing import cli_integration as cli # pylint: disable=unused-import
from buildstream.testing.integration import walk_dir
-from buildstream.testing._utils.site import HAVE_SANDBOX
+from buildstream.testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN
pytestmark = pytest.mark.integration
@@ -133,6 +133,10 @@ def test_compose_include(cli, datafiles, include_domains, exclude_domains, expec
@pytest.mark.datafiles(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_compose_run_integration(cli, datafiles):
project = str(datafiles)
checkout = os.path.join(cli.directory, "checkout")