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