Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / tests / test-gunzip-gnu-mirror
1 #!/bin/sh
2 # $Id$
3 if test "X$FAST" != "X" ; then echo "Not running $0" ; exit 0 ; fi
4 original=${1-$AFSROOT/stacken.kth.se/ftp/pub/gnu}
5 cd $original || exit 1
6 find . -name '*.gz' -print | while read i; do
7 foo=`gunzip --verbose --test $i 2>&1`
8 echo $foo >& 4
9 case "$foo" in
10 *not*in*gzip*format*) ;;
11 *OK*) ;;
12 *) exit 1 ;;
13 esac
14 done