-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Testinfra has bugs that fail for SUSE. - Fix the location of rc?.d dirs. - Fix service command to run as root via sudo. - Remove .service from names to handle SysV names. - testinfra automagically adds .service to name if necessary for systemctl. - Update check_service to allow None for args. This always passes. I.e. if you only want to check if a service is enabled and it can be running or stopped.
- Loading branch information
1 parent
ff82464
commit 62e93c9
Showing
5 changed files
with
49 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
def test_sles_guestregister(check_service): | ||
assert check_service('guestregister.service', running=False) | ||
assert check_service('guestregister', running=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
def test_sles_haveged(check_service): | ||
assert check_service('haveged.service') | ||
assert check_service('haveged') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters