SHA256
1
0
forked from pool/attr
attr/0001-attr-2.4.48-test-suite-perl.patch
Andreas Jaeger 9740bff95d Accepting request 628908 from home:scarabeus_iv:branches:Base:System
- Remove obsolete Obsolete lines
- Drop static subpackage, nothing in TW depends on it Deb/RH do not
  provide it either
- Rely on simple upstream make install target
- Run tests
- Update to 2.4.48:
  * Provide default xattr.conf
  * Update buildsystem to reflect current autotools state
  * Small test updates
  * Remove various deprecated sections like attr/attr.h
- Update keyring, Mike Frysinger released this version

OBS-URL: https://build.opensuse.org/request/show/628908
OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=43
2018-08-24 04:44:15 +00:00

30 lines
818 B
Diff

From 46baedf88fe22abafa3f2341b2c1bcb4764ce389 Mon Sep 17 00:00:00 2001
From: Troy Dawson <tdawson@redhat.com>
Date: Fri, 21 Jul 2017 14:05:47 -0700
Subject: [PATCH] attr: escape left brace in a regex in test/run
... to fix test-suite failure with perl-5.26.0
Bug: https://bugzilla.redhat.com/1473853
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
---
test/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/run b/test/run
index 4b1f8d0..07e916c 100755
--- a/test/run
+++ b/test/run
@@ -106,7 +106,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*< ?//) {
--
2.13.0