*** empty log message ***
[arla.git] / tests / volcache-lookup
blob8966b6a5a17846a945943f9ae77a4237a95504a9
1 #!/bin/sh
2 # $Id$
4 if test "X$FAST" != "X" ; then echo "Not running $0" >&4; exit 0 ; fi
7 # Do lotsa volume lookups, exercising volcache
10 home_dir=$AFSROOT/su.se/home
11 letters="a l m s t"
13 for foo in $letters; do
14 for i in $home_dir/$foo/?; do ls -l $i >&4 2>&4; done >&4 2>&4 & >&4 2>&4
15 pid="$pid $!"
16 done
18 sleep 60
20 for i in $pid ; do kill -KILL $i >&4 2>&4 ; done
22 ls -ld $home_dir >&4 2>&4 || exit 1