mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
Remove test_FTL_support_files_installed as we create them using the init.d script as of now
This commit is contained in:
parent
77b3764481
commit
e9b50442fa
@ -388,19 +388,19 @@ def test_FTL_binary_installed_and_responsive_no_errors(Pihole):
|
||||
expected_stdout = 'v'
|
||||
assert expected_stdout in installed_binary.stdout
|
||||
|
||||
def test_FTL_support_files_installed(Pihole):
|
||||
''' confirms FTL support files are installed '''
|
||||
support_files = Pihole.run('''
|
||||
source /opt/pihole/basic-install.sh
|
||||
FTLdetect
|
||||
stat -c '%a %n' /var/log/pihole-FTL.log
|
||||
stat -c '%a %n' /run/pihole-FTL.port
|
||||
stat -c '%a %n' /run/pihole-FTL.pid
|
||||
ls -lac /run
|
||||
''')
|
||||
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
|
||||
# def test_FTL_support_files_installed(Pihole):
|
||||
# ''' confirms FTL support files are installed '''
|
||||
# support_files = Pihole.run('''
|
||||
# source /opt/pihole/basic-install.sh
|
||||
# FTLdetect
|
||||
# stat -c '%a %n' /var/log/pihole-FTL.log
|
||||
# stat -c '%a %n' /run/pihole-FTL.port
|
||||
# stat -c '%a %n' /run/pihole-FTL.pid
|
||||
# ls -lac /run
|
||||
# ''')
|
||||
# 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
Block a user