]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGEST: Add reg tests about error files
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 12:49:48 +0000 (13:49 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:19:55 +0000 (15:19 +0100)
commita5afb0bf3668851d130d75ccd7dbf4fcadd3a2b7
tree2f94e53f46e9397b630f87033b64a72751abe558
parentcedf8fbcc6461898a8f3e9063712d2421116d4e9
REGEST: Add reg tests about error files

2 reg tests are added. The first one ensures the declaration of errors in a
proxy is fonctionnal. It declares http-errors sections and declare error files
using the errorfile and the errorfiles directives, both in the default section
and the frontend sections. The second one ensures it is possible to use a custom
error file for an HTTP deny rule.
15 files changed:
reg-tests/http-errorfiles/errors/400-1.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/400-2.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/400-3.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/400.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/403-1.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/403-2.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/403.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/404-1.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/404-2.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/404-3.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/404.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/500-1.http [new file with mode: 0644]
reg-tests/http-errorfiles/errors/500.http [new file with mode: 0644]
reg-tests/http-errorfiles/http_deny_errors.vtc [new file with mode: 0644]
reg-tests/http-errorfiles/http_errors.vtc [new file with mode: 0644]