2 # This file is part of GNU tar testsuite.
3 # Copyright (C) 2004 Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 # Problem: when extracting selected members from a PAX archive,
21 # tar 1.14 incorrectly deemed all members to be sparse and
22 # therefore was not able to properly skip them.
24 # Reported by: Luca Fibbi <fibbi@lamma.rete.toscana.it>
26 # References: <3.0.6.32.20040809113727.00a30e50@localhost>
27 # http://lists.gnu.org/archive/html/bug-tar/2004-08/msg00008.html
30 TAR_ARCHIVE_FORMATS
="posix"
33 genfile
--length 118 > jeden
34 genfile
--length 223 > dwa
35 genfile
--length 517 > trzy
36 mksparse sparsefile
512 0 ABCD
1M EFGH
2000K IJKL
37 genfile
--length 110 > cztery
39 tar cf archive jeden dwa trzy cztery
49 tar xvfT ..
/archive ..
/list