haproxy/tests/unit/quic/quic.sh
Amaury Denoyelle 6f95d0dad0 TESTS: quic: create first quic unittest
Define a first unit-test dedicated to QUIC. A single test for now
ensures that variable length decoding is compliant. This should be
extended in the future with new set of tests.
2025-03-07 12:06:26 +01:00

19 lines
197 B
Bash
Executable File

#!/bin/sh
check() {
${HAPROXY_PROGRAM} -vv | grep -E '^Unit tests list :' | grep -q "quic"
}
run() {
${HAPROXY_PROGRAM} -U quic_enc
}
case "$1" in
"check")
check
;;
"run")
run
;;
esac