# TRUSS=strace
AT_TAR_CHECK([
+exec <&-
genfile --length 7168 > file1
for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
genfile --length 20000 > tre
genfile --length 10240 > fire
+exec <&-
+
tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
echo separator
tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
genfile --length 15360 > $AFILE
+exec <&-
+
tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
tar -tM -f arch.1 -f arch.2 || exit 1
mkdir directory
awk 'BEGIN { for (i = 0; i < 1024; i++) printf("genfile -f directory/%014X\n", i); }' </dev/null | sh
+exec <&-
+
sleep 2
tar --listed-incremental=list -c -f archive.a directory
#
AT_TAR_CHECK([
+exec <&-
genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || AT_SKIP_TEST
echo "Pass 1: Split between data blocks"
echo "Create archive"
# See comment in sparsemv.at for the description.
AT_TAR_CHECK([
+exec <&-
genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || AT_SKIP_TEST
echo "Pass 1: Split between data blocks"
echo "Create archive"
AT_STAR_PREREQ([gnu-multi-fail-volume2.gtar])
tar --utc -tvM -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \
- -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar </dev/null
+ -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
],
[0],
[drwxrwsr-x joerg/bs 0 2003-10-11 14:32 OBJ/i386-sunos5-gcc/