diff options
author | Lars Kellogg-Stedman <lars@redhat.com> | 2015-06-03 13:18:38 -0400 |
---|---|---|
committer | Lars Kellogg-Stedman <lars@redhat.com> | 2015-06-03 13:18:38 -0400 |
commit | 8db399f9149a81de5d65f0759792766ecd509ab3 (patch) | |
tree | 2ed1a8107b500e84a92382f1b8f5c2fc592a72ff /tests/unittests/test_handler | |
parent | 2a955375dbf0d546d8999793923c4e8f23e042c6 (diff) | |
download | vyos-cloud-init-8db399f9149a81de5d65f0759792766ecd509ab3.tar.gz vyos-cloud-init-8db399f9149a81de5d65f0759792766ecd509ab3.zip |
add tests for systemd detection
This adds the following tests in test_distros.test_generic:
- test_systemd_in_use
Test the situation in which /run/systemd/system exists.
- test_systemd_not_in_use
Test the situation in which /run/systemd/system does not exists.
- test_systemd_symlink
This tests the situation in which /run/systemd/system exists but is a
*symlink* to a directory, which according to sd_booted() should return
false.
Diffstat (limited to 'tests/unittests/test_handler')
0 files changed, 0 insertions, 0 deletions