mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add test for issue 65231
This commit is contained in:
parent
59f731c94f
commit
1dad8745de
1 changed files with 9 additions and 0 deletions
|
@ -32,3 +32,12 @@ def test_logrotate_config(logrotate_config_file):
|
|||
assert logrotate_config_file.is_file()
|
||||
assert logrotate_config_file.owner() == "root"
|
||||
assert logrotate_config_file.group() == "root"
|
||||
|
||||
|
||||
def test_issue_65231_etc_logrotate_salt_dir_removed():
|
||||
"""
|
||||
Test that /etc/logrotate.d/salt is not a directory
|
||||
"""
|
||||
path = Path("/etc/logrotate.d/salt")
|
||||
if path.exists():
|
||||
assert path.is_dir() is False
|
||||
|
|
Loading…
Add table
Reference in a new issue