diff options
author | Valentin David <valentin.david@codethink.co.uk> | 2018-11-08 12:06:13 +0100 |
---|---|---|
committer | Valentin David <valentin.david@codethink.co.uk> | 2018-11-08 12:08:28 +0100 |
commit | 9e398d8b38592afe70328594582a235fe954c49d (patch) | |
tree | 197e61d3ada900a15cf7d1cb033f211b26d2fe4a /tests/integration/script.py | |
parent | f116b9b7e4c804c04816ca3078e5849d1f0bd856 (diff) | |
download | buildstream-valentindavid/fix-script-install-root.tar.gz |
Fix bug with root mounted as non-artifact in script plugin.valentindavid/fix-script-install-root
The issue was introduced by 6ccfab0b1b25990e406446d5cbe5aee83a5e158a.
Diffstat (limited to 'tests/integration/script.py')
-rw-r--r-- | tests/integration/script.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/integration/script.py b/tests/integration/script.py index 67bdd9642..422cd8e2a 100644 --- a/tests/integration/script.py +++ b/tests/integration/script.py @@ -184,3 +184,12 @@ def test_regression_cache_corruption(cli, tmpdir, datafiles): with open(os.path.join(checkout_after, 'canary')) as f: assert f.read() == 'alive\n' + + +@pytest.mark.datafiles(DATA_DIR) +def test_regression_tmpdir(cli, tmpdir, datafiles): + project = str(datafiles) + element_name = 'script/tmpdir.bst' + + res = cli.run(project=project, args=['build', element_name]) + assert res.exit_code == 0 |