summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-11-26 12:00:02 +0100
committerJürg Billeter <j@bitron.ch>2019-12-10 11:43:30 +0000
commit1e038a9cf648afada4c8a1d427b4d2b820b58c3e (patch)
tree0eaca432c49062052fc05a7db1f1c70bb4bea183 /tests/integration
parentdbf933b4e4597a6d4138ee4e26b343343d0a863c (diff)
downloadbuildstream-1e038a9cf648afada4c8a1d427b4d2b820b58c3e.tar.gz
tests/integration/script.py: Relax error message check
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/script.py b/tests/integration/script.py
index b27f1507e..b7a691011 100644
--- a/tests/integration/script.py
+++ b/tests/integration/script.py
@@ -113,7 +113,7 @@ def test_script_no_root(cli, datafiles):
res = cli.run(project=project, args=["build", element_name])
assert res.exit_code != 0
- assert "/test: Read-only file system" in res.stderr
+ assert "/test: Read-only file system" in res.stderr or "/test: Permission denied" in res.stderr
@pytest.mark.datafiles(DATA_DIR)