a1346054
|
e5695f862f
|
test_any_automated_install.py: Use `command -v` instead of `which`
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
|
2 years ago |
Adam Warner
|
1b0b0ca445
|
Update python tests and add black code formatter action (#4926)
|
2 years ago |
Christian König
|
17ec88d96f
|
Remove `installed_binary` variable which was leftover from https://github.com/pi-hole/pi-hole/pull/4893
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2 years ago |
Christian König
|
0df38cd64e
|
Format all /test files with black
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2 years ago |
yubiuser
|
2ff1fa1b85
|
Merge branch 'development' into use_utils
|
2 years ago |
Adam Warner
|
0f74165c9d
|
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>
|
2 years ago |
Adam Warner
|
46e1a87e9e
|
Tweak FTL test to ensure we don't get false positives on incompatible OS (Will remote Ub18 in a separate commit)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2 years ago |
Christian König
|
9b5ea13a33
|
Use utils.sh in install script
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2 years ago |
Adam Warner
|
5421aad03e
|
Store versions as key/value pairs rather than space delimeted values
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2 years ago |
Adam Warner
|
5816f495f4
|
Fix test_installPiholeWeb_fresh_install_no_errors and test_installPihole_fresh_install_readableBlockpage
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2 years ago |
Adam Warner
|
9028898ba7
|
Move code from `check_epel_repo_required` into the rpm branch of the if check on package_manager_detect(), adjust tests to accommodate
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2 years ago |
Adam Warner
|
b613758419
|
rename select_rpm_php and simplify it to remove code no longer needed (discussed internally removing the unsupported dialog here to match behaviour on non rpm distros)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2 years ago |
Dan Schaper
|
a650641da4
|
Change tests to mock dialog
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
|
2 years ago |
Adam Warner
|
0be987239e
|
Adds spellcheck action to the smoke-tests (also moves editorconfig-checker to smoketests away from it's own action)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2 years ago |
Christian König
|
2c07d27ad7
|
Forgot two places
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2 years ago |
Christian König
|
0fa94e0946
|
Remove unused test which was commented since 5 years by PR 1244
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2 years ago |
Dan Schaper
|
c19788dd18
|
Mock `which sh` to reutrn `/bin/sh`.
Check for `/bin/sh` library
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
|
2 years ago |
spmfox
|
2601162243
|
Changed ldd binary check from /bin/ls to /usr/bin/bash
Signed-off-by: spmfox <spmfox@foxwd.com>
|
2 years ago |
Christian König
|
d7d8e9730b
|
Remove pihole-FTL.conf.5 from automated tests
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2 years ago |
Adam Warner
|
77e5121d43
|
Split new function out into a separte utility script and add a test for it. Can be used in future to organise re/commonly-used code
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2 years ago |