Files
tar/tests/gzip.sh
1997-04-25 20:21:03 +00:00

18 lines
268 B
Bash
Executable File

#! /bin/sh
# tar should detect that its gzip child failed.
. ./preset
. $srcdir/before
tar xfvz /dev/null
test $? = 2 || exit 1
err="\
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
"
. $srcdir/after