1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #! /bin/sh
- . ./preset
- TAR_ARCHIVE_FORMATS="gnu oldgnu"
- . $srcdir/before
- AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
- BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
- genfile --length 15360 > $AFILE
- tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE
- tar -tM -f arch.1 -f arch.2
- echo separator
- genfile --length 15360 > $BFILE
- tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE
- out="\
- $AFILE
- separator
- "
- err="\
- tar: $BFILE: file name too long to be stored in a GNU multivolume header
- tar: Error is not recoverable: exiting now
- "
- . $srcdir/after
|