Commit Graph

50 Commits (05464fc1acbf1a40e45ec131e1a37dc8ed2cae62)

Author SHA1 Message Date
Adam Warner df9c60e351
Reduce code duplication in FTL arch detect tests.
5 months ago
Adam Warner 220c0675ef
As we do in other tests, specify `development-v6` branch of FTL is downloaded for the tests. We need to change this to `develoment` once v6 is released
5 months ago
Christian König 54186a63ee Remove test for sudo file as well
6 months ago
Christian König 159817b7e2
Use development-v6 as ftl branch for binary test
6 months ago
DL6ER 38ecc1693f
Further simplify the ARMv6 test
7 months ago
DL6ER c571d8d37d
Drop support for ancient ARMv4 and ARMv5, the Debian binaries turn out to cause unresolvable SIGFPE on ARMv6 and lower. Fortunately, we can still use the Alpine binaries on all Raspberry Pi models (even the oldest ones)
8 months ago
Adam Warner ca66c1ea9c
Switch to new branch name for FTL v6 development
12 months ago
DL6ER 913be6c349
Print detected CPU arch
12 months ago
DL6ER 9c27e4766d
Decide which FTL architecture to pick by by installed architectures rather than by detected processor (this may be wrong in an emulated Docker environment)
12 months ago
Christian König 366345e87e
Fix no_installs
1 year ago
DL6ER 667418c71d
Use new FTL binary names
1 year ago
Christian König 7da57c6acd
Don't check and install old FTL config file
1 year ago
Christian König 0becc7615a
Run prestart
1 year ago
Christian König a4322c624f
Fix gravity in tests
1 year ago
Adam Warner 792b0d419b
Test fixes
1 year ago
Christian König 7351a4d3b1
Merge branch 'development' into development-v6
1 year ago
Christian König f7b9d70054
Remove man page for pihole-FTL
1 year ago
Adam Warner 494734bf27
Add in a test case
1 year ago
Adam Warner 7cbe713873
REVISIT: Don't rely on existence of setupVars.conf
1 year ago
Adam Warner 0e8f285f4f
Always assume that the web interface will be installed.
1 year ago
Adam Warner 9bf372ef43
[REVISIT] Remove test_installPihole_fresh_install_readableBlockpage for now. We may be able to recylcle it later, but I have my doubts
1 year ago
Adam Warner 414df5b372
Remove no longer required checks in test_installPihole_fresh_install_readableFiles
1 year ago
Adam Warner 5e431210fd
[REVISIT] Remove test_setupVars_saved_to_file for now - it may no longer be needed as we move towards getting rid of the file.
1 year ago
Adam Warner 8f7c828407
No need for test_installPiholeWeb_fresh_install_no_errors
1 year ago
Christian König d87cad76fb
Tweak get_directories_recursive
1 year ago
Glenn Strauss 34f45d011d
lighttpd: do not install obsolete 404 handler
1 year ago
Glenn Strauss c6342ed84c
lighttpd: do not overwrite /etc/lighttpd/lighttpd.conf
1 year ago
Glenn Strauss 78f9e38425
lighttpd: test for /etc/lighttpd/conf*/pihole-admin.conf
1 year ago
Christian König ea26171c18
Do not require man pages to be present in test script
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
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
yubiuser 2ff1fa1b85
Merge branch 'development' into use_utils
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 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 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
Dan Schaper a650641da4 Change tests to mock dialog
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 2c07d27ad7 Forgot two places
2 years ago
Christian König 0fa94e0946
Remove unused test which was commented since 5 years by PR 1244
2 years ago
Dan Schaper c19788dd18
Mock `which sh` to reutrn `/bin/sh`.
2 years ago
spmfox 2601162243 Changed ldd binary check from /bin/ls to /usr/bin/bash
2 years ago
Christian König d7d8e9730b Remove pihole-FTL.conf.5 from automated tests
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
2 years ago