summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-02-19 14:27:31 +0100
committerJürg Billeter <j@bitron.ch>2019-02-19 14:27:31 +0100
commit69675d225c41df2354c5ae700ddd300ea0ed5734 (patch)
tree679a072edeee6f57780c78c1b18dd9d5f183edfc /tests/integration
parent1cd27edfe09864ad44b077bf80a94a1927b7ecb9 (diff)
downloadbuildstream-69675d225c41df2354c5ae700ddd300ea0ed5734.tar.gz
tests/integration/shell.py: More asserts in test_isolated_no_mountjuerg/shell-test
This verifies that the command fails with the right error.
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/shell.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration/shell.py b/tests/integration/shell.py
index 615ea9d87..97c4d0cad 100644
--- a/tests/integration/shell.py
+++ b/tests/integration/shell.py
@@ -227,6 +227,8 @@ def test_isolated_no_mount(cli, tmpdir, datafiles, path):
}
})
assert result.exit_code != 0
+ assert path in result.stderr
+ assert 'No such file or directory' in result.stderr
# Test that we warn about non-existing files on the host if the mount is not