mirror of
				https://git.haproxy.org/git/haproxy.git/
				synced 2025-10-31 08:30:59 +01: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
 |