REGTEST: http-rules: Require PCRE or PCRE2 option to run map_redirect script
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 29 Apr 2020 12:32:26 +0000 (14:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 15:56:45 +0000 (17:56 +0200)
Only PCRE was specified as required option to execute this script. But PCRE2 is
an valid alternative.

(cherry picked from commit 8aa825a35686520420ad65dcdb1219285a22c059)
Signed-off-by: Willy Tarreau <w@1wt.eu>

reg-tests/http-rules/map_redirect.vtc

index 57f83dc..9951291 100644 (file)
@@ -1,5 +1,5 @@
 varnishtest "haproxy host header: map / redirect tests"
-#REQUIRE_OPTIONS=PCRE
+#REQUIRE_OPTIONS=PCRE|PCRE2
 feature ignore_unknown_macro
 
 #REQUIRE_VERSION=1.6