Commit Graph

221 Commits (tests_systemd_new)

Author SHA1 Message Date
Christian König 8e6bb15283
Remove mocked systemctl completely
1 year ago
Christian König 90862e6fc6
Run systemd in tests
1 year ago
Christian König 74b0904af4
Tweak tests to allow systemd as init system
1 year ago
Christian König ea26171c18
Do not require man pages to be present in test script
1 year ago
Adam Warner 6b8ba3c15e
Replace deprecated shell commands (#4907)
2 years ago
RD WebDesign 85ffbcf05e
Allow replacing conflicting existing packages from testing image
2 years ago
RD WebDesign 528abc9c97
Adding CentOS Stream 9 tests
2 years ago
MichaIng 5c090d25e1
Fix ldd sh mock in tests
2 years ago
a1346054 e5695f862f
test_any_automated_install.py: Use `command -v` instead of `which`
2 years ago
Christian König 4265bcb178
Add initscripts to CentOS8 dockerfile
2 years ago
Dan Schaper 71b560667b
Add Fedora 35 and 36, remove 34 to/from the test suite (#4952)
2 years ago
Christian König 3731b65bd5
Remoce Fedora 34 from tests
2 years ago
Christian König 6057b134ae
Add initscripts to Fedora 35 and 36 dockerfile
2 years ago
Christian König a705fbca73
Add Fedora 35 and 36 to the test suite
2 years ago
Christian König 276c480f50
Return default port if non-numeric characters are set in pihole-FTL.conf for FTLPORT. FTL does the same in such case and provide the API on 4711
2 years ago
Christian König 3d01e4d0cf No detour - use pihole-FTL.conf to get the API port number
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
2 years ago
Christian König 0df38cd64e
Format all /test files with black
2 years ago
Christian König 73ca4ebdbc
Update test requirements
2 years ago
yubiuser 2ff1fa1b85
Merge branch 'development' into use_utils
2 years ago
Christian König 8bc5b16527
Set tox envlist to py3
2 years ago
Christian König c1a927fff1
Run test workflows on python 3.10
2 years ago
Adam Warner 0f74165c9d
Drop Ubuntu 18 tests
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)
2 years ago
Christian König 9b5ea13a33 Use utils.sh in install script
2 years ago
Adam Warner 5421aad03e
Store versions as key/value pairs rather than space delimeted values
2 years ago
Adam Warner 5816f495f4
Fix test_installPiholeWeb_fresh_install_no_errors and test_installPihole_fresh_install_readableBlockpage
2 years ago
Adam Warner 71bc237639
Merge pull request #4828 from pi-hole/centos7-can-do-one
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
2 years ago
Adam Warner fc2a564cc0
remove tests no longer needed
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)
2 years ago
Adam Warner 9c03915cb0
Remove special Centos7 hand holds. Move the unsupported dialog out to a further if block so that a user may still continue to install on centos7 (provided they have the pre-requisites installed)
2 years ago
Adam Warner e29aa4e205
First things first...
2 years ago
Christian König ab6b37bdcf
Fix stickler and codefactor complaints
2 years ago
Christian König c8c4eb59b7
Add getFTLPID() tests
2 years ago
Christian König 2651abbe6c
Add tests
2 years ago
Christian König 7b77d991df
Move FTL port and PID functions to utils.sh
2 years ago
Adam Warner 21af75a2d2
Ubuntu 21 tests are failing entirely. apt-update does not work on an impish vm, either
2 years ago
Christian König 9f918972d2 Adjust tests
2 years ago
Christian König 518cbd10e0
Rename also in docker files
2 years ago
Dan Schaper 0b10c50a0b
Merge branch 'development' into tweak/dialog
2 years ago
Dan Schaper 6efb3a3372
Fix for epel mirror timeouts
2 years ago
Dan Schaper 2845c72bde Add testing dependencies for CentOS7 and dialog
2 years ago
Dan Schaper a650641da4 Change tests to mock dialog
2 years ago
Dan Schaper 80bef5f6b6
Direct pull for epel-release
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)
2 years ago
Christian König f740e0fefb
Ubt22 is jammy not impish
2 years ago
Christian König 8c498acd4c
Re-add Ubuntu21 tests
2 years ago
Christian König f9d1893f96
Update test to reflect currently supported OS
2 years ago