Whamcloud - gitweb
LU-1187 tests: add create remote directory to racer
[fs/lustre-release.git] / lustre / tests / racer / file_concat.sh
1 #!/bin/bash
2
3 DIR=$1
4 MAX=$2
5
6 concat(){
7     cat $DIR/$file >> $DIR/$new_file
8     cat $DIR/$file/$file/$file >> $DIR/$new_file
9
10 }
11
12 while /bin/true ; do 
13     file=$((RANDOM % MAX))
14     new_file=$((RANDOM % MAX))
15     concat 2> /dev/null
16 done