@@ -19,8 +19,8 @@
# 02111-1307, USA.
. ./preset
+TAR_ARCHIVE_FORMATS="gnu oldgnu posix"
. $srcdir/before
-prereq gnu oldgnu posix
set -e
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
@@ -2,6 +2,7 @@
# tar should detect that its gzip child failed.
+TAR_ARCHIVE_FORMATS=auto
tar xfvz /dev/null
@@ -2,8 +2,8 @@
# A directory older than the listed entry was skipped completely.
+TAR_ARCHIVE_FORMATS="gnu oldgnu"
-prereq gnu oldgnu
mkdir structure
@@ -22,8 +22,8 @@
mkdir directory
dd if=/dev/zero of=directory/file1 bs=1024 count=10 2>/dev/null
# Test multivolume dumps from pipes.
# Fixme: should be configurable
# TRUSS=truss -o /tmp/tr
# An old archive was not receiving directories.
# Ensure that TAR_OPTIONS works in conjunction with old-style options.
@@ -2,7 +2,6 @@
# Check if the proper version is being tested.
-PATH=../src:$PATH
if test -n "`$PACKAGE --version | sed -n s/$PACKAGE.*$VERSION/OK/p`"; then
banner="Regression testing for GNU $PACKAGE, version $VERSION"
@@ -2,9 +2,10 @@
# Volume labels are checked on read by fnmatch.
-tar -cf archive -V label -T /dev/null --format=gnu || exit 1
+tar -cf archive -V label -T /dev/null || exit 1
tar xfV archive label || exit 1
tar xfV archive 'la?el' || exit 1