1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-17 05:29:20 +00:00

Add piholeDebug to tests

This commit is contained in:
Dan Schaper 2016-11-17 10:28:51 -08:00 committed by GitHub
parent d4b6fb9214
commit 808503d526

View File

@ -7,7 +7,7 @@ run_local = testinfra.get_backend(
def test_scripts_pass_shellcheck():
''' Make sure shellcheck does not find anything wrong with our shell scripts '''
shellcheck = "find . -name 'update.sh' | while read file; do shellcheck \"$file\"; done;"
shellcheck = "find . -type f \( -name 'update.sh' -o -name 'piholeDebug.sh' \) | while read file; do shellcheck \"$file\"; done;"
results = run_local(shellcheck)
print results.stdout
assert '' == results.stdout