X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fmultiv01.sh;fp=tests%2Fmultiv01.sh;h=3a59c50bc58d441b29a546cacee667d0eb09247b;hb=c48759586476fe0b57167a680b4cc7d3ce77ed5a;hp=6801b911be9d16e39d4a1e37bb0e39aef00165e0;hpb=29e59e07b1bc092985c65083170f1ec42248bf8c;p=chaz%2Ftar 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