Commit Graph

5 Commits

Author SHA1 Message Date
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