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

Skip manpage tests when the manpage directory does not exist.
pull/5045/head
Dan Schaper 2 years ago committed by GitHub
commit 95e799ed6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}'

Loading…
Cancel
Save