Check file path and permissions in one go.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
4cd598ae10
commit
02ea9b9abc
|
@ -398,9 +398,9 @@ def test_FTL_support_files_installed(Pihole):
|
|||
stat -c '%a %n' /run/pihole-FTL.pid
|
||||
ls -lac /run
|
||||
''')
|
||||
assert '644 pihole-FTL.port' in support_files.stdout
|
||||
assert '644 pihole-FTL.pid' in support_files.stdout
|
||||
assert '644 pihole-FTL.log' in support_files.stdout
|
||||
assert '644 /run/pihole-FTL.port' in support_files.stdout
|
||||
assert '644 /run/pihole-FTL.pid' in support_files.stdout
|
||||
assert '644 /var/log/pihole-FTL.log' in support_files.stdout
|
||||
|
||||
# Helper functions
|
||||
def mock_command(script, args, container):
|
||||
|
|
Loading…
Reference in New Issue