Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-5473 tests: sanity/51b Account for ZFS inode size
[fs/lustre-release.git]
/
lustre
/
tests
/
racer
/
file_rm.sh
diff --git
a/lustre/tests/racer/file_rm.sh
b/lustre/tests/racer/file_rm.sh
index
41d3d62
..
dd10cc9
100755
(executable)
--- a/
lustre/tests/racer/file_rm.sh
+++ b/
lustre/tests/racer/file_rm.sh
@@
-1,10
+1,11
@@
#!/bin/bash
+trap 'kill $(jobs -p)' EXIT
DIR=$1
MAX=$2
-while /bin/true ; do
- file=$((
$RANDOM%$
MAX))
+while /bin/true ; do
+ file=$((
RANDOM %
MAX))
rm -rf $DIR/$file 2> /dev/null
sleep 1
done