]> Dogcows Code - chaz/tar/commitdiff
Require gnu or oldgnu format
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 20 Feb 2004 15:36:18 +0000 (15:36 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 20 Feb 2004 15:36:18 +0000 (15:36 +0000)
tests/incremen.sh
tests/multiv01.sh

index 40adbf81ccf32e22a03cf10841af3a898a96cdb5..3e6ef617e9a9e7a8a7719d96272ce490bf5e3cb0 100755 (executable)
@@ -2,7 +2,7 @@
 # A directory older than the listed entry was skipped completely.
 
 . ./preset
 # A directory older than the listed entry was skipped completely.
 
 . ./preset
-. $srcdir/before
+. $srcdir/before gnu oldgnu
 
 set -e
 mkdir structure
 
 set -e
 mkdir structure
@@ -22,12 +22,12 @@ ls -l structure/file >/dev/null
 # backing it up.
 sleep 1
 
 # backing it up.
 sleep 1
 
-tar cf archive --format=gnu --listed=list structure
-tar cfv archive --format=gnu --listed=list structure
+tar cf archive --listed=list structure
+tar cfv archive --listed=list structure
 echo -----
 sleep 1
 echo y >structure/file
 echo -----
 sleep 1
 echo y >structure/file
-tar cfv archive --format=gnu --listed=list structure
+tar cfv archive --listed=list structure
 
 out="\
 structure/
 
 out="\
 structure/
index 6801b911be9d16e39d4a1e37bb0e39aef00165e0..3a59c50bc58d441b29a546cacee667d0eb09247b 100755 (executable)
@@ -2,7 +2,7 @@
 # Test multivolume dumps from pipes.
 
 . ./preset
 # Test multivolume dumps from pipes.
 
 . ./preset
-. $srcdir/before
+. $srcdir/before gnu oldgnu
 
 # Fixme: should be configurable
 #  TRUSS=truss -o /tmp/tr
 
 # Fixme: should be configurable
 #  TRUSS=truss -o /tmp/tr
@@ -19,13 +19,13 @@ for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
   done
 done >file2
 
   done
 done >file2
 
-tar -c --format=gnu --multi-volume --tape-length=10 \
+tar -c --multi-volume --tape-length=10 \
   --listed-incremental=t.snar \
   -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2
 
 mkdir extract-dir-pipe
 dd bs=4096 count=10 if=t2-pipe.tar |
   --listed-incremental=t.snar \
   -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2
 
 mkdir extract-dir-pipe
 dd bs=4096 count=10 if=t2-pipe.tar |
-PATH=$PATH ${TRUSS} tar --format=gnu -f t1-pipe.tar -f - \
+PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
       -C extract-dir-pipe -x --multi-volume \
       --tape-length=10 --read-full-records
 
       -C extract-dir-pipe -x --multi-volume \
       --tape-length=10 --read-full-records
 
This page took 0.024332 seconds and 4 git commands to generate.