Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
b=22334 swap the declarations for OBD_FAIL_MDS_READLINK_EPROTO and OBD_FAIL_MDS_OPEN_...
[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