]> Dogcows Code - chaz/tar/commitdiff
Initial revision
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Apr 1997 20:21:03 +0000 (20:21 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Apr 1997 20:21:03 +0000 (20:21 +0000)
tests/gzip.sh [new file with mode: 0755]

diff --git a/tests/gzip.sh b/tests/gzip.sh
new file mode 100755 (executable)
index 0000000..133f9e9
--- /dev/null
@@ -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
This page took 0.025444 seconds and 4 git commands to generate.