From 2eec797e22855be37dd220adb1ffb8405def31db Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 25 Apr 1997 20:21:03 +0000 Subject: [PATCH] Initial revision --- tests/gzip.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tests/gzip.sh 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 -- 2.45.2