summaryrefslogtreecommitdiff
path: root/tests/integration/sandbox-bwrap.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-09-28 14:17:16 +0100
committerJürg Billeter <j@bitron.ch>2018-11-27 13:44:49 +0000
commit63db90b2846681943ca70bababdaa6376e33bd9b (patch)
treeb45e2f07353785a4bdd8c2c249f5a3d77d085cfc /tests/integration/sandbox-bwrap.py
parent7827ac5039f7d7cd80e3937d0b3c81e462524c78 (diff)
downloadbuildstream-63db90b2846681943ca70bababdaa6376e33bd9b.tar.gz
buildelement.py: Support batching for integration and build commands
Diffstat (limited to 'tests/integration/sandbox-bwrap.py')
-rw-r--r--tests/integration/sandbox-bwrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/sandbox-bwrap.py b/tests/integration/sandbox-bwrap.py
index d2484bc17..b77709c35 100644
--- a/tests/integration/sandbox-bwrap.py
+++ b/tests/integration/sandbox-bwrap.py
@@ -58,5 +58,5 @@ def test_sandbox_bwrap_return_subprocess(cli, tmpdir, datafiles):
})
result = cli.run(project=project, args=['build', element_name])
- result.assert_task_error(error_domain=ErrorDomain.ELEMENT, error_reason=None)
+ result.assert_task_error(error_domain=ErrorDomain.SANDBOX, error_reason="command-failed")
assert "sandbox-bwrap/command-exit-42.bst|Command 'exit 42' failed with exitcode 42" in result.stderr