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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user