svn commit: r332399 - head/tests/sys/acl

Eitan Adler eadler at FreeBSD.org
Wed Apr 11 07:15:31 UTC 2018


Author: eadler
Date: Wed Apr 11 07:15:30 2018
New Revision: 332399
URL: https://svnweb.freebsd.org/changeset/base/332399

Log:
  [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.

Modified:
  head/tests/sys/acl/run

Modified: head/tests/sys/acl/run
==============================================================================
--- head/tests/sys/acl/run	Wed Apr 11 01:43:29 2018	(r332398)
+++ head/tests/sys/acl/run	Wed Apr 11 07:15:30 2018	(r332399)
@@ -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*< ?//) {


More information about the svn-src-all mailing list