1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-21 06:18:06 +00:00

Do not require man pages to be present in test script (#5037)

Skip manpage tests when the manpage directory does not exist.
This commit is contained in:
Dan Schaper 2022-11-28 13:27:30 -08:00 committed by GitHub
commit 95e799ed6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,8 @@ def test_installPihole_fresh_install_readableFiles(host):
maninstalled = True
if (info_box + " man not installed") in install.stdout:
maninstalled = False
if (info_box + " man pages not installed") in install.stdout:
maninstalled = False
piholeuser = "pihole"
exit_status_success = 0
test_cmd = 'su --shell /bin/bash --command "test -{0} {1}" -p {2}'