From c48759586476fe0b57167a680b4cc7d3ce77ed5a Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 20 Feb 2004 15:36:18 +0000 Subject: [PATCH] Require gnu or oldgnu format --- tests/incremen.sh | 8 ++++---- tests/multiv01.sh | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/incremen.sh b/tests/incremen.sh index 40adbf8..3e6ef61 100755 --- a/tests/incremen.sh +++ b/tests/incremen.sh @@ -2,7 +2,7 @@ # A directory older than the listed entry was skipped completely. . ./preset -. $srcdir/before +. $srcdir/before gnu oldgnu set -e mkdir structure @@ -22,12 +22,12 @@ ls -l structure/file >/dev/null # 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 -tar cfv archive --format=gnu --listed=list structure +tar cfv archive --listed=list structure out="\ structure/ diff --git a/tests/multiv01.sh b/tests/multiv01.sh index 6801b91..3a59c50 100755 --- a/tests/multiv01.sh +++ b/tests/multiv01.sh @@ -2,7 +2,7 @@ # Test multivolume dumps from pipes. . ./preset -. $srcdir/before +. $srcdir/before gnu oldgnu # 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 -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 | -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 -- 2.45.2