gzip.sh 268 B

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