mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-19 05:40:13 +00:00
Drop Ubuntu 18 tests
Tweek version_check to only output 1st char of the reported version Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
46e1a87e9e
commit
0f74165c9d
4 changed files with 5 additions and 27 deletions
|
@ -885,7 +885,10 @@ def test_FTL_binary_installed_and_responsive_no_errors(host):
|
|||
theRest="${funcOutput%pihole-FTL*}"
|
||||
FTLdetect "${binary}" "${theRest}"
|
||||
''')
|
||||
version_check = host.run('pihole-FTL version')
|
||||
version_check = host.run('''
|
||||
VERSION=$(pihole-FTL version)
|
||||
echo ${VERSION:0:1}
|
||||
''')
|
||||
expected_stdout = 'v'
|
||||
assert expected_stdout in version_check.stdout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue