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