# Test multivolume dumps from pipes.
. ./preset
-. $srcdir/before
+. $srcdir/before gnu oldgnu
# Fixme: should be configurable
# TRUSS=truss -o /tmp/tr
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