# Deleting a member after a big one was destroying the archive.
AT_SETUP([deleting a member after a big one])
-AT_KEYWORDS([delete01])
+AT_KEYWORDS([delete delete01])
AT_TAR_CHECK([
genfile -l 50000 > file1
# Deleting a member with the archive from stdin was not working correctly.
AT_SETUP([deleting a member from stdin archive])
-AT_KEYWORDS([delete02])
+AT_KEYWORDS([delete delete02])
AT_TAR_CHECK([
genfile -l 3073 -p zeros > 1
# 02110-1301, USA.
AT_SETUP([deleting members with long names])
-AT_KEYWORDS([delete03])
+AT_KEYWORDS([delete delete03])
m4_define([PREFIX],[This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX])
# Deleting a large last member was destroying earlier members.
AT_SETUP([deleting a large last member])
-AT_KEYWORDS([delete04])
+AT_KEYWORDS([delete delete04])
AT_TAR_CHECK([
genfile -l 3 >file1
# http://lists.gnu.org/archive/html/bug-tar/2004-12/msg00016.html
AT_SETUP([deleting non-existing member])
-AT_KEYWORDS([delete05])
+AT_KEYWORDS([delete delete05])
AT_TAR_CHECK([
genfile -l 1024 > en
# There was a diagnostic when directory already exists.
AT_SETUP([extract01])
-AT_KEYWORDS([extract01])
+AT_KEYWORDS([extract extract01])
AT_TAR_CHECK([
mkdir directory
# Could not extract symlinks over an existing file.
AT_SETUP([extracting symlinks over an existing file])
-AT_KEYWORDS([extract02])
+AT_KEYWORDS([extract extract02])
# FIXME: Skip if symlinks are not supported on the system
# Paths going up and down were inducing extraction loops.
AT_SETUP([extraction loops])
-AT_KEYWORDS([extract03])
+AT_KEYWORDS([extract extract03])
AT_TAR_CHECK([
mkdir directory
# Check for fnmatch problems in glibc 2.1.95.
AT_SETUP([extract + fnmatch])
-AT_KEYWORDS([extract04])
+AT_KEYWORDS([extract extract04])
AT_TAR_CHECK([
touch file1
# http://lists.gnu.org/archive/html/bug-tar/2004-08/msg00008.html
AT_SETUP([extracting selected members from pax])
-AT_KEYWORDS([extract05])
+AT_KEYWORDS([extract extract05])
AT_DATA([list],
[jeden
# http://lists.gnu.org/archive/html/bug-tar/2005-08/msg00023.html
AT_SETUP([restore broken symlinks from incremental])
-AT_KEYWORDS([incr01])
+AT_KEYWORDS([incremental incr01])
AT_TAR_CHECK([
mkdir directory
# A directory older than the listed entry was skipped completely.
AT_SETUP([incremental])
-AT_KEYWORDS([incremental])
+AT_KEYWORDS([incremental incr00])
AT_TAR_CHECK([
mkdir structure
# http://lists.gnu.org/archive/html/bug-tar/2004-02/msg00011.html
AT_SETUP([--listed for individual files])
-AT_KEYWORDS([listed01])
+AT_KEYWORDS([listed incremental listed01])
AT_TAR_CHECK([
mkdir directory
# http://lists.gnu.org/archive/html/bug-tar/2004-06/msg00028.html
AT_SETUP([working --listed])
-AT_KEYWORDS([listed02])
+AT_KEYWORDS([listed incremental listed02])
AT_TAR_CHECK([
# http://lists.gnu.org/archive/html/bug-tar/2005-01/msg00038.html
AT_SETUP([long file names divisible by block size])
-AT_KEYWORDS([long512])
+AT_KEYWORDS([longname long512])
dnl Create a directory structure with maximum diractory name length 512-16
m4_define([NAME],[0123456789abcde])
# 99 characters
AT_SETUP([V7 and long names])
-AT_KEYWORDS([longv7])
+AT_KEYWORDS([longname longv7])
m4_define([DIR],[this_is_a_very_long_name_for_a_directory_which_causes_problems])
m4_define([FILE],[this_is_a_very_long_file_name_which_raises_issues.c])
# Test multivolume dumps from pipes.
AT_SETUP([multivolume dumps from pipes])
-AT_KEYWORDS([multiv01])
+AT_KEYWORDS([multivolume multiv multiv01])
# Fixme: should be configurable
# TRUSS=truss -o /tmp/tr
cmp file2 extract-dir-pipe/file2
],
[0],
-[],[],[],[],[gnu, oldgnu])
+[],[],[],[],[gnu, oldgnu, pax])
AT_CLEANUP
# http://lists.gnu.org/archive/html/bug-tar/2004-04/msg00002.html
AT_SETUP([skipping a straddling member])
-AT_KEYWORDS([multiv02])
+AT_KEYWORDS([multivolume multiv multiv02])
AT_TAR_CHECK([
genfile --length 10240 > en
[separator
en
],
-[],[],[],[gnu, oldgnu])
+[],[],[],[gnu, oldgnu, pax])
AT_CLEANUP
# http://lists.gnu.org/archive/html/bug-tar/2004-08/msg00012.html
AT_SETUP([MV archive & long filenames])
-AT_KEYWORDS([multiv03])
+AT_KEYWORDS([multivolume multiv multiv03])
AT_TAR_CHECK([
AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
# 3. Test the created multi-volume archive.
AT_SETUP([Split directory members in a MV archive])
-AT_KEYWORDS([multiv04])
+AT_KEYWORDS([multivolume multiv multiv04])
AT_TAR_CHECK([
unset TAR_OPTIONS
AT_SETUP([options])
-AT_KEYWORDS([options])
+AT_KEYWORDS([options options00])
AT_CHECK([
echo > file1
# http://lists.gnu.org/archive/html/bug-tar/2005-01/msg00011.html
AT_SETUP([options02])
-AT_KEYWORDS([options02])
+AT_KEYWORDS([options options02])
AT_CHECK([
echo > file1
# http://lists.gnu.org/archive/html/bug-tar/2004-05/msg00008.html
AT_SETUP([same-order01])
-AT_KEYWORDS([same-order01])
+AT_KEYWORDS([same-order same-order01])
AT_TAR_CHECK([
genfile -l 1024 > file1
# Test if we did not break the correct behavior.
AT_SETUP([same-order02])
-AT_KEYWORDS([same-order02])
+AT_KEYWORDS([same-order same-order02])
AT_TAR_CHECK([
genfile -l 1024 > file1
# 02110-1301, USA.
AT_SETUP([Sparse files])
-AT_KEYWORDS([sparse01])
+AT_KEYWORDS([sparse sparse01])
AT_TAR_CHECK([
genfile --length 1000 > begin
# 02110-1301, USA.
AT_SETUP([Extracting sparse file over a pipe])
-AT_KEYWORDS([sparse02])
+AT_KEYWORDS([sparse sparse02])
# Tar 1.14 - 1.15.1 was unable to extract sparse files to a pipe.
# References: <16896.21739.460782.124775@jik.kamens.brookline.ma.us>
# 02110-1301, USA.
AT_SETUP([Storing sparse files > 8G])
-AT_KEYWORDS([sparse03])
+AT_KEYWORDS([sparse sparse03])
# Tar 1.15.1 incorrectly computed sparse member size if the extended
# PAX header contained size keyword.
# 02110-1301, USA.
AT_SETUP([multi-fail])
-AT_KEYWORDS([multi-fail])
+AT_KEYWORDS([multivolume multiv multi-fail])
unset TAR_OPTIONS