summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-11-10 09:31:20 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-11-10 09:31:20 +0000
commit2a31d88cc5868bd0e94db7ea4b65a343e50188af (patch)
tree504c3c7e5bf38f6dd5d521f8aca54080e13ea03b /regress/usr.sbin/rpki-client
parentaa8eb9f7ce18a2f48371bd224b24380596269340 (diff)
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.
Diffstat (limited to 'regress/usr.sbin/rpki-client')
-rw-r--r--regress/usr.sbin/rpki-client/libressl/Makefile1
1 files changed, 1 insertions, 0 deletions
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