Blame SOURCES/0001-attr-2.4.48-test-suite-perl.patch

77b877
From 46baedf88fe22abafa3f2341b2c1bcb4764ce389 Mon Sep 17 00:00:00 2001
77b877
From: Troy Dawson <tdawson@redhat.com>
77b877
Date: Fri, 21 Jul 2017 14:05:47 -0700
77b877
Subject: [PATCH] attr: escape left brace in a regex in test/run
77b877
77b877
... to fix test-suite failure with perl-5.26.0
77b877
77b877
Bug: https://bugzilla.redhat.com/1473853
77b877
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
77b877
---
77b877
 test/run | 2 +-
77b877
 1 file changed, 1 insertion(+), 1 deletion(-)
77b877
77b877
diff --git a/test/run b/test/run
77b877
index 4b1f8d0..07e916c 100755
77b877
--- a/test/run
77b877
+++ b/test/run
77b877
@@ -106,7 +106,7 @@ for (;;) {
77b877
   if (defined $line) {
77b877
     # Substitute %VAR and %{VAR} with environment variables.
77b877
     $line =~ s[%(\w+)][$ENV{$1}]eg;
77b877
-    $line =~ s[%{(\w+)}][$ENV{$1}]eg;
77b877
+    $line =~ s[%\{(\w+)}][$ENV{$1}]eg;
77b877
   }
77b877
   if (defined $line) {
77b877
     if ($line =~ s/^\s*< ?//) {
77b877
-- 
77b877
2.13.0
77b877