mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
[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:
parent
e0e259a888
commit
8adbc73788
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332399
@ -70,7 +70,7 @@ for (;;) {
|
|||||||
if (defined $line) {
|
if (defined $line) {
|
||||||
# Substitute %VAR and %{VAR} with environment variables.
|
# 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;
|
$line =~ s[%\{(\w+)\}][$ENV{$1}]eg;
|
||||||
}
|
}
|
||||||
if (defined $line) {
|
if (defined $line) {
|
||||||
if ($line =~ s/^\s*< ?//) {
|
if ($line =~ s/^\s*< ?//) {
|
||||||
|
Loading…
Reference in New Issue
Block a user