Accomodate for the new testsuite logic

This commit is contained in:
Sergey Poznyakoff
2004-02-29 00:07:00 +00:00
parent d584c1ed0f
commit 427f8d6185
9 changed files with 9 additions and 6 deletions

View File

@@ -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

View File

@@ -2,6 +2,7 @@
# tar should detect that its gzip child failed.
. ./preset
TAR_ARCHIVE_FORMATS=auto
. $srcdir/before
tar xfvz /dev/null

View File

@@ -2,8 +2,8 @@
# 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

View File

@@ -22,8 +22,8 @@
# 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

View File

@@ -2,8 +2,8 @@
# 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

View File

@@ -2,6 +2,7 @@
# An old archive was not receiving directories.
. ./preset
TAR_ARCHIVE_FORMATS=auto
. $srcdir/before
set -e

View File

@@ -2,6 +2,7 @@
# Ensure that TAR_OPTIONS works in conjunction with old-style options.
. ./preset
TAR_ARCHIVE_FORMATS=auto
. $srcdir/before
set -e

View File

@@ -2,7 +2,6 @@
# 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"

View File

@@ -2,9 +2,10 @@
# 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