Răsfoiți Sursa

Accomodate for the new testsuite logic

Sergey Poznyakoff 21 ani în urmă
părinte
comite
427f8d6185
9 a modificat fișierele cu 9 adăugiri și 6 ștergeri
  1. 1 1
      tests/delete03.sh
  2. 1 0
      tests/gzip.sh
  3. 1 1
      tests/incremen.sh
  4. 1 1
      tests/listed01.sh
  5. 1 1
      tests/multiv01.sh
  6. 1 0
      tests/old.sh
  7. 1 0
      tests/options.sh
  8. 0 1
      tests/version.sh
  9. 2 1
      tests/volume.sh

+ 1 - 1
tests/delete03.sh

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

+ 1 - 0
tests/gzip.sh

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

+ 1 - 1
tests/incremen.sh

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

+ 1 - 1
tests/listed01.sh

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

+ 1 - 1
tests/multiv01.sh

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

+ 1 - 0
tests/old.sh

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

+ 1 - 0
tests/options.sh

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

+ 0 - 1
tests/version.sh

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

+ 2 - 1
tests/volume.sh

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