diff options
Diffstat (limited to 'tests/integration/script.py')
-rw-r--r-- | tests/integration/script.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/integration/script.py b/tests/integration/script.py index 5ecc51973..88226c0b7 100644 --- a/tests/integration/script.py +++ b/tests/integration/script.py @@ -39,8 +39,8 @@ def test_script(cli, tmpdir, datafiles): create_script_element(element_name, element_path, config={ 'commands': [ - "mkdir -p /buildstream/install", - "echo 'Hi' > /buildstream/install/test" + "mkdir -p %{install-root}", + "echo 'Hi' > %{install-root}/test" ], }) @@ -69,9 +69,9 @@ def test_script_root(cli, tmpdir, datafiles): # want to check the default here # 'root-read-only': False, 'commands': [ - "mkdir -p /buildstream/install", + "mkdir -p %{install-root}", "echo 'I can write to root' > /test", - "cp /test /buildstream/install" + "cp /test %{install-root}" ], }) @@ -97,9 +97,9 @@ def test_script_no_root(cli, tmpdir, datafiles): config={ 'root-read-only': True, 'commands': [ - "mkdir -p /buildstream/install", + "mkdir -p %{install-root}", "echo 'I can not write to root' > /test", - "cp /test /buildstream/install" + "cp /test %{install-root}" ], }) |