From 2a31d88cc5868bd0e94db7ea4b65a343e50188af Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 10 Nov 2021 09:31:20 +0000 Subject: Add a test for the redirect loop limit. It would be great if someone rewrote these tests to use a local HTTP server instead of some random external ones. --- regress/usr.sbin/rpki-client/libressl/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'regress/usr.sbin/rpki-client') diff --git a/regress/usr.sbin/rpki-client/libressl/Makefile b/regress/usr.sbin/rpki-client/libressl/Makefile index 6339b14381e..ab1f91214a5 100644 --- a/regress/usr.sbin/rpki-client/libressl/Makefile +++ b/regress/usr.sbin/rpki-client/libressl/Makefile @@ -16,6 +16,7 @@ run-regress-test-http: test-http ./test-http https://${SERVER}/HTTP/ChunkedScript chunk.out ./test-http https://${SERVER}/HTTP/300/307.html redir.out sha256 -c ${.CURDIR}/test-http.sum + ./test-http 'https://demo.cyotek.com/features/redirectchaintest.php?index=1' redirloop.out 2>&1 | grep -q 'Too many redirections requested' .else # server ${SERVER} not reachable @echo SKIPPED -- cgit v1.2.3