Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: mock LXD datasource detection in ds-identify on LXD containers (…
…#1178) On LXD containers /dev/lxd/sock will always exist. Mock dscheck_LXD to return 1 (NOT_FOUND) to avoid leaking into test environment and returning LXD as detected. We have integration tests covering proper LXD datasource detection so we don't need a Unit test validating the [ -S /dev/lxd/sock] that is in ds-identify.
- Loading branch information