Commit graph

9 commits

Author SHA1 Message Date
Christian König
31d5e7d575
Compare version strings semantically
Signed-off-by: Christian König <github@yubiuser.dev>
2026-07-04 12:48:07 +02:00
Christian König
20ed2ab95f
Fix BATS gravity test on curl version >=8.21
Signed-off-by: Christian König <github@yubiuser.dev>
2026-07-04 12:23:02 +02:00
Christian König
fa1de50068
Use bats_helper also in newly added gravity tests
Signed-off-by: Christian König <github@yubiuser.dev>
2026-06-01 19:31:55 +02:00
Christian König
2671ebc2b8
Ubuntu 20 curl version does not support etag-compare and etag-save on the same file, so the target will always be downloaded and no 304 is returned
Signed-off-by: Christian König <github@yubiuser.dev>
2026-05-25 21:40:35 +02:00
Christian König
43840b250d
Account for curl version < 7.75
Signed-off-by: yubiuser <github@yubiuser.dev>
2026-05-21 23:44:47 +02:00
Christian König
a8de5788c6
Be more generous regarding curl's error output
Signed-off-by: Christian König <github@yubiuser.dev>
2026-05-21 23:25:14 +02:00
Christian König
227689f491
Adjust tests to recent changes from https://github.com/pi-hole/pi-hole/pull/6430 and https://github.com/pi-hole/pi-hole/pull/6607 and https://github.com/pi-hole/pi-hole/pull/6605
Signed-off-by: Christian König <github@yubiuser.dev>
2026-05-21 23:16:38 +02:00
Christian König
164a0c134a
Fix shellcheck
Signed-off-by: Christian König <github@yubiuser.dev>
2026-05-21 22:43:41 +02:00
Christian König
de7cb639d5
Add gravity tests
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Christian König <github@yubiuser.dev>
2026-05-21 22:22:53 +02:00