[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.
This commit is contained in:
Eitan Adler 2018-04-11 07:15:30 +00:00
parent e0e259a888
commit 8adbc73788
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332399

View File

@ -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*< ?//) {