diff options
author | Jürg Billeter <j@bitron.ch> | 2019-11-26 12:08:08 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-12-05 06:07:09 +0100 |
commit | 308cdc7f7be2e970390d18c30b5ecd34650ca4ab (patch) | |
tree | 110407210dc5a2e2f8f25d9143a309f33ba844a8 | |
parent | 4d875402eb71e7787d7709f097cdafb3f6691821 (diff) | |
download | buildstream-308cdc7f7be2e970390d18c30b5ecd34650ca4ab.tar.gz |
tests/integration/shell.py: xfail for buildbox-run-userchroot
buildbox-run-userchroot requires a shell.
-rw-r--r-- | tests/integration/shell.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/integration/shell.py b/tests/integration/shell.py index 394edeb1d..9a176c25a 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") |