repo.or.cz
/
arla.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(nnpfs_lookup): adapt to netbsd-4 locking changes. From Pavel Cahyna
[arla.git]
/
tests
/
test-gunzip-gnu-mirror
blob
8fa639d9ed9ebe47a4ddb630afdbf359346d818a
1
#!/bin/sh
2
# $Id$
3
if
test
"X
$FAST
"
!=
"X"
;
then
echo
"Not running
$0
"
>&
4
;
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