From 51b09a6dee412d312547b44daa3ae5b4bc12cd50 Mon Sep 17 00:00:00 2001 From: eadler Date: Sat, 2 Jun 2018 21:46:48 +0000 Subject: [PATCH] MFC r332399: [tests] change tests/sys/acl/run to run on perl 5.26 Previously unescaped regex just resulted in a warning. Now it results in a failed test. Approved by: re (marius) PR: 228491 --- tests/sys/acl/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/acl/run b/tests/sys/acl/run index 383f47e6239..40be88f2de2 100644 --- a/tests/sys/acl/run +++ b/tests/sys/acl/run @@ -70,7 +70,7 @@ for (;;) { if (defined $line) { # Substitute %VAR and %{VAR} with environment variables. $line =~ s[%(\w+)][$ENV{$1}]eg; - $line =~ s[%{(\w+)}][$ENV{$1}]eg; + $line =~ s[%\{(\w+)\}][$ENV{$1}]eg; } if (defined $line) { if ($line =~ s/^\s*< ?//) { -- 2.45.0