monitoring-plugins/plugins/tests
Ahmet Oeztuerk f8db90c206 check_curl redirection test improvements
previously, the fragment was sent in the request from client, and the
server would parse and increment its value. the incremented value would
be set in the redirected URI.

this does not work as fragments are meaningless to servers and clients
like check_curl strip them in their GET request.

rewrite the fragment handling . if client sends a URI parameter with
'fragment' as its key, the server will set its value for its redirected
URI. it will come up both as a parameter and the fragment at the end.

use this new logic to rewrite the fragment redirection test. remove -p
$http_port argument on tests for this endpoint, which was making https
tests fail. correct the common test count from 75 to 95, as there are 20
total test assertions in the 8 times it uses the new endpoint. remove
unused code on that endpoint as well
2025-12-12 11:29:35 +01:00
..
certs sslutils: use chain from client certificates 2022-01-30 12:25:56 +01:00
conf snmp: fix complaint of snmpd about paths 2025-09-08 15:54:08 +02:00
var Fix tests 2024-01-04 02:37:26 +01:00
check_curl.t check_curl redirection test improvements 2025-12-12 11:29:35 +01:00
check_http.t check_curl: fix relative redirects on non-standard port 2024-07-30 17:13:03 +02:00
check_procs.t check_procs: add a test for the newly added -X option. 2023-03-21 11:49:08 +01:00
check_snmp.t check_snmp: refactoring + fixes 2025-09-08 15:57:06 +02:00
check_snmp_agent.pl check_snmp: refactoring + fixes 2025-09-08 15:57:06 +02:00
test_check_disk.c Run clang-format again 2025-09-15 12:59:37 +02:00
test_check_disk.t Migrate disk tests from lib, tool 2025-03-18 15:57:44 +01:00
test_check_snmp.c check_snmp: refactoring + fixes 2025-09-08 15:57:06 +02:00
test_check_snmp.t check_snmp: refactoring + fixes 2025-09-08 15:57:06 +02:00
test_check_swap.c Run clang-format again 2025-09-15 12:59:37 +02:00
test_check_swap.t Fix tests 2024-01-04 02:37:26 +01:00