Skip to content
Snippets Groups Projects
Commit eb3ef652 authored by richardmaw-codethink's avatar richardmaw-codethink
Browse files

tests: test that integration commands can use /dev

parent e2ec7c70
No related branches found
No related tags found
Loading
Pipeline #30474572 passed
kind: manual
depends:
- base.bst
public:
bst:
integration-commands:
- |
echo noise >/dev/null
......@@ -342,3 +342,13 @@ def test_sysroot_workspace_visible(cli, tmpdir, datafiles):
])
assert result.exit_code == 0
assert result.output == workspace_hello
# Test system integration commands can access devices in /dev
@pytest.mark.datafiles(DATA_DIR)
def test_integration_devices(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)
element_name = 'integration.bst'
result = execute_shell(cli, project, ["true"], element=element_name)
assert result.exit_code == 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment