summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-11-26 12:08:08 +0100
committerJürg Billeter <j@bitron.ch>2019-12-17 14:18:11 +0100
commit4fd6dc251695335e0b43db563d6d36e7401beb36 (patch)
treef537f3ece13c85137ebbe61e56e325a430ad9107 /tests
parent2a96cb211625725246d293b11f0d4f51106bf3bf (diff)
downloadbuildstream-4fd6dc251695335e0b43db563d6d36e7401beb36.tar.gz
tests/integration/shell.py: xfail for buildbox-run-userchroot
buildbox-run-userchroot requires a shell.
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/shell.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/integration/shell.py b/tests/integration/shell.py
index cea608016..040ae53a5 100644
--- a/tests/integration/shell.py
+++ b/tests/integration/shell.py
@@ -6,7 +6,7 @@ import pytest
from buildstream import _yaml
from buildstream.testing import cli_integration as cli # pylint: disable=unused-import
-from buildstream.testing._utils.site import HAVE_SANDBOX
+from buildstream.testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN
from buildstream._exceptions import ErrorDomain
from buildstream import utils
@@ -134,6 +134,10 @@ def test_env_assign_isolated(cli, datafiles, animal):
# /bin/sh)
@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="buildbox-run-userchroot requires a shell",
+)
def test_no_shell(cli, datafiles):
project = str(datafiles)
element_path = os.path.join(project, "elements")