mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 16:47:18 +02:00
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.
19 lines
197 B
Bash
Executable File
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
|