Add a minimal regress test for the http client code.
authorclaudio <claudio@openbsd.org>
Fri, 9 Apr 2021 10:14:36 +0000 (10:14 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 9 Apr 2021 10:14:36 +0000 (10:14 +0000)
commite3a286de3baa362b1033ca4dd1d9c9634f34f428
treef28526a8568c7a790f0809d831ebe7e8adfb790b
parentfc2f8a0c91c2b7899bfadab787cba5ea4711e725
Add a minimal regress test for the http client code.
This currently uses some external website to do redirect test and
to check both regular and chunked downloads.
Only for libressl because you can't mix openssl 1.1 and libtls on OpenBSD.
regress/usr.sbin/rpki-client/libressl/Makefile
regress/usr.sbin/rpki-client/libressl/test-http.sum [new file with mode: 0644]
regress/usr.sbin/rpki-client/test-http.c [new file with mode: 0644]