3147a22
From 368f03d8d415854fc2e66ebaf6e014d9c0fada7b Mon Sep 17 00:00:00 2001
3147a22
From: Troy Dawson <tdawson@redhat.com>
3147a22
Date: Fri, 21 Jul 2017 14:05:47 -0700
3147a22
Subject: [PATCH] acl: escape left brace in a regex in test/run
3147a22
3147a22
... to fix test-suite failure with perl-5.26.0
3147a22
3147a22
Bug: https://bugzilla.redhat.com/1473845
3147a22
3147a22
Upstream-commit: f2feb94748bd3c64ed153461afa51aebbd717821
3147a22
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
3147a22
---
3147a22
 test/run | 2 +-
3147a22
 1 file changed, 1 insertion(+), 1 deletion(-)
3147a22
3147a22
diff --git a/test/run b/test/run
3147a22
index 2cf52e8..0e499e4 100755
3147a22
--- a/test/run
3147a22
+++ b/test/run
3147a22
@@ -70,7 +70,7 @@ for (;;) {
3147a22
   if (defined $line) {
3147a22
     # Substitute %VAR and %{VAR} with environment variables.
3147a22
     $line =~ s[%(\w+)][$ENV{$1}]eg;
3147a22
-    $line =~ s[%{(\w+)}][$ENV{$1}]eg;
3147a22
+    $line =~ s[%\{(\w+)}][$ENV{$1}]eg;
3147a22
   }
3147a22
   if (defined $line) {
3147a22
     if ($line =~ s/^\s*< ?//) {
3147a22
-- 
3147a22
2.9.4
3147a22