mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 14:20:18 +00:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue