artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
256005e
)
Add a test for the redirect loop limit. It would be great if someone
author
claudio
<claudio@openbsd.org>
Wed, 10 Nov 2021 09:31:19 +0000
(09:31 +0000)
committer
claudio
<claudio@openbsd.org>
Wed, 10 Nov 2021 09:31:19 +0000
(09:31 +0000)
rewrote these tests to use a local HTTP server instead of some random
external ones.
regress/usr.sbin/rpki-client/libressl/Makefile
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/rpki-client/libressl/Makefile
b/regress/usr.sbin/rpki-client/libressl/Makefile
index
6339b14
..
ab1f912
100644
(file)
--- 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