remove outdated tests from test/attr.test
This commit is contained in:
parent
876079628f
commit
3a4cfcb32c
2 changed files with 48 additions and 1 deletions
40
0003-attr-2.4.47-test-suite.patch
Normal file
40
0003-attr-2.4.47-test-suite.patch
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
From 080ffdf051aff85688e4e35fc58c5c7eedcdd480 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
||||
Date: Tue, 3 Mar 2015 18:15:07 +0100
|
||||
Subject: [PATCH] Remove outdated tests from test/attr.test
|
||||
|
||||
Extended attributes are not accounted for in the real file size on most file
|
||||
systems, not even in ext* file systems with large inodes. Remove the
|
||||
associated tests.
|
||||
|
||||
Upstream-commit: 07cdd574b01309599c5ceddcd3d6553a5f5cd75d
|
||||
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
||||
---
|
||||
test/attr.test | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/test/attr.test b/test/attr.test
|
||||
index 1f755ae..9f750b0 100644
|
||||
--- a/test/attr.test
|
||||
+++ b/test/attr.test
|
||||
@@ -92,8 +92,6 @@ Everything with one file
|
||||
$ setfattr -n user.longername -v longervalue f
|
||||
$ setfattr -n user.short -v value f
|
||||
$ setfattr -n user.novalue-yet f
|
||||
- $ ls -s f
|
||||
- > 4 f
|
||||
|
||||
$ getfattr -d f
|
||||
> # file: f
|
||||
@@ -130,8 +128,6 @@ Everything with one file
|
||||
$ setfattr -x user.novalue f
|
||||
$ setfattr -x user.novalue-yet f
|
||||
$ getfattr -d f
|
||||
- $ ls -s f
|
||||
- > 0 f
|
||||
|
||||
$ rm f
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Utilities for managing filesystem extended attributes
|
||||
Name: attr
|
||||
Version: 2.4.47
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source: http://download.savannah.gnu.org/releases-noredirect/attr/attr-%{version}.src.tar.gz
|
||||
|
||||
|
|
@ -11,6 +11,9 @@ Patch1: 0001-attr-2.4.47-warnings.patch
|
|||
# install /etc/xattr.conf
|
||||
Patch2: 0002-attr-2.4.47-xattr-conf.patch
|
||||
|
||||
# remove outdated tests from test/attr.test
|
||||
Patch3: 0003-attr-2.4.47-test-suite.patch
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://acl.bestbits.at/
|
||||
Group: System Environment/Base
|
||||
|
|
@ -62,6 +65,7 @@ you'll also want to install attr.
|
|||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
|
@ -136,6 +140,9 @@ rmdir "$RPM_BUILD_ROOT%{_mandir}/man5"
|
|||
%config(noreplace) %{_sysconfdir}/xattr.conf
|
||||
|
||||
%changelog
|
||||
* Thu Jan 07 2016 Kamil Dudka <kdudka@redhat.com> 2.4.47-15
|
||||
- remove outdated tests from test/attr.test
|
||||
|
||||
* Mon Sep 14 2015 Kamil Dudka <kdudka@redhat.com> 2.4.47-14
|
||||
- make libattr-devel not insist on man-pages being installed (#1262605)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue