Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / tests / racer / file_rm.sh
1 #!/bin/bash
2
3 DIR=$1
4 MAX=$2
5
6 while /bin/true ; do 
7     file=$(($RANDOM%$MAX))
8     rm -rf $DIR/$file 2> /dev/null
9     sleep 1
10 done
11
12