Commit Graph

14 Commits

Author SHA1 Message Date
yubiuser
1572fea2ac Rename test
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-30 20:23:43 +02:00
yubiuser
9878204aee Don't use hard-coded sleep timeout - might be not enough on slow RISCV systems
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-30 20:23:43 +02:00
yubiuser
fd15c683bb Check clean shutdown from outside the container
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-30 20:23:43 +02:00
yubiuser
647f6c94ea Use FTL's build-in wait-for command for checking the logs
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-27 10:39:52 +02:00
yubiuser
1ae1414db7 Major overhaul of the test suite
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-02 22:22:19 +02:00
casperklein
c4c3c3065a add test: check if cronfile has a valid syntax
Signed-off-by: casperklein <casperklein@users.noreply.github.com>
2025-04-04 19:16:10 +02:00
yubiuser
4abe9094c6 PEP8 requires all lowser case
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-18 23:52:37 +01:00
yubiuser
0020492a5b Add test to output FTL's version information
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-18 23:43:24 +01:00
Adam Warner
af8863a156 Clean Shutdown test: Remove check for the "Shutting down..." line in FTL log as this is now only printed when debug logging is on
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-13 18:36:47 +01:00
Christian König
99f459e30f Using grep instead of tailing FTL.log as func.stdout only captures a few lines
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-30 23:30:22 +02:00
Adam Warner
24006c7a00 Address comments.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-03-11 18:14:26 +00:00
Adam Warner
374f6f2537 Add in a test to kill start.sh and then ensure that pihole-FTL is gracefully exited.
We add in some sleeps to ensure that the log file is being written to before we check it
Log entry tests are based on many different passes of running this locally with all sorts of timeouts and sleeps, this seems to be the most consistent

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 23:31:39 +01:00
Adam Warner
b56b8d03c4 black formatted some tests
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 21:18:10 +01:00
Adam Warner
f09b0d68bb Add tests for UID/GID switching
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-07-26 08:31:29 +01:00