e4010a
# This test is failing due to BZ#2066320 and BZ#1926332
e4010a
# So we decided to remove it from testsuite
e4010a
e4010a
--- tar-1.30/tests/Makefile.am.old	2022-12-05 10:18:29.093200490 +0000
e4010a
+++ tar-1.30/tests/Makefile.am	2022-12-05 10:18:47.058200490 +0000
e4010a
@@ -261,8 +261,7 @@ TESTSUITE_AT = \
e4010a
  acls02.at\
e4010a
  acls03.at\
e4010a
  selnx01.at\
e4010a
- selacl01.at\
e4010a
- capabs_raw01.at
e4010a
+ selacl01.at
e4010a
 
e4010a
 distclean-local:
e4010a
 	-rm -rf download
e4010a
--- tar-1.30/tests/testsuite.at.old	2022-12-05 10:19:51.023200490 +0000
e4010a
+++ tar-1.30/tests/testsuite.at	2022-12-05 10:20:19.418200490 +0000
e4010a
@@ -469,8 +469,6 @@ m4_include([acls03.at])
e4010a
 m4_include([selnx01.at])
e4010a
 m4_include([selacl01.at])
e4010a
 
e4010a
-m4_include([capabs_raw01.at])
e4010a
-
e4010a
 AT_BANNER([One top level])
e4010a
 m4_include([onetop01.at])
e4010a
 m4_include([onetop02.at])
e4010a
--- tar-1.30-test/tests/capabs_raw01.at	2017-01-02 12:43:50.000000000 +0000
e4010a
+++ tar-1.30/tests/capabs_raw01.at	1970-01-01 00:00:00.000000000 +0000
e4010a
@@ -1,53 +0,0 @@
e4010a
-# Process this file with autom4te to create testsuite. -*- Autotest -*-
e4010a
-#
e4010a
-# Test suite for GNU tar.
e4010a
-# Copyright 2012-2014, 2016-2017 Free Software Foundation, Inc.
e4010a
-
e4010a
-# This file is part of GNU tar.
e4010a
-
e4010a
-# GNU tar is free software; you can redistribute it and/or modify
e4010a
-# it under the terms of the GNU General Public License as published by
e4010a
-# the Free Software Foundation; either version 3 of the License, or
e4010a
-# (at your option) any later version.
e4010a
-
e4010a
-# GNU tar is distributed in the hope that it will be useful,
e4010a
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
e4010a
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
e4010a
-# GNU General Public License for more details.
e4010a
-
e4010a
-# You should have received a copy of the GNU General Public License
e4010a
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
e4010a
-#
e4010a
-# Test description:  Test if file capabilities are archived/restored correctly
e4010a
-# using just the default xattr support (capabilities are stored/restored in
e4010a
-# binary format -> system dependant).
e4010a
-
e4010a
-AT_SETUP([capabilities: binary store/restore])
e4010a
-AT_KEYWORDS([xattrs capabilities capabs_raw01])
e4010a
-
e4010a
-AT_TAR_CHECK([
e4010a
-AT_PRIVILEGED_PREREQ
e4010a
-AT_XATTRS_PREREQ
e4010a
-AT_CAPABILITIES_UTILS_PREREQ
e4010a
-
e4010a
-mkdir dir
e4010a
-genfile --file dir/file
e4010a
-
e4010a
-setcap "= cap_chown=ei" dir/file
e4010a
-
e4010a
-# archive whole directory including binary xattrs
e4010a
-tar --xattrs -cf archive.tar dir
e4010a
-
e4010a
-# clear the directory
e4010a
-rm -rf dir
e4010a
-
e4010a
-# restore _all_ xattrs (not just the user.* domain)
e4010a
-tar --xattrs --xattrs-include='*' -xf archive.tar
e4010a
-
e4010a
-getcap dir/file
e4010a
-],
e4010a
-[0],
e4010a
-[dir/file = cap_chown+ei
e4010a
-])
e4010a
-
e4010a
-AT_CLEANUP