From: Paul Eggert Date: Fri, 25 Apr 1997 20:21:03 +0000 (+0000) Subject: Initial revision X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2eec797e22855be37dd220adb1ffb8405def31db;p=chaz%2Ftar Initial revision --- diff --git a/tests/gzip.sh b/tests/gzip.sh new file mode 100755 index 0000000..133f9e9 --- /dev/null +++ b/tests/gzip.sh @@ -0,0 +1,17 @@ +#! /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