summaryrefslogtreecommitdiff
path: root/tests/integration/sandbox-bwrap.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-16 15:09:41 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-16 19:28:03 -0500
commitd212cdfa6e07abb83e527dcd99d5f6638be942ea (patch)
treeeef1ac4b2b3af5d2530e317c11aa4074b229e914 /tests/integration/sandbox-bwrap.py
parentd34a4fd17028e87d5b9402e59e84b803aa475635 (diff)
downloadbuildstream-d212cdfa6e07abb83e527dcd99d5f6638be942ea.tar.gz
sandbox/sandbox.py: Display failed commands in the detail stringtristan/error-message-regression
We should only display commands in detail strings, not in the message texts. This also updates tests/integration/sandbox-bwrap.py to expect the new message string which only contains the command exit status and not the whole command itself, this does not alter the validity of the text case which is checking that we can obtain the expected return value.
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 b77709c35..66e9f5b57 100644
--- a/tests/integration/sandbox-bwrap.py
+++ b/tests/integration/sandbox-bwrap.py
@@ -59,4 +59,4 @@ 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.SANDBOX, error_reason="command-failed")
- assert "sandbox-bwrap/command-exit-42.bst|Command 'exit 42' failed with exitcode 42" in result.stderr
+ assert "sandbox-bwrap/command-exit-42.bst|Command failed with exitcode 42" in result.stderr