From: claudio Date: Wed, 10 Nov 2021 09:31:19 +0000 (+0000) Subject: Add a test for the redirect loop limit. It would be great if someone X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f48d8ef765ba573f748fae9d1b66f02467907890;p=openbsd 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. --- 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