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-8347 ldlm: granting conflicting locks
[fs/lustre-release.git]
/
lustre
/
tests
/
racer
/
file_symlink.sh
diff --git
a/lustre/tests/racer/file_symlink.sh
b/lustre/tests/racer/file_symlink.sh
index
187b026
..
e47107c
100755
(executable)
--- a/
lustre/tests/racer/file_symlink.sh
+++ b/
lustre/tests/racer/file_symlink.sh
@@
-1,9
+1,10
@@
#!/bin/bash
+trap 'kill $(jobs -p)' EXIT
DIR=$1
MAX=$2
-while /bin/true ; do
+while /bin/true ; do
file=$((RANDOM % MAX))
new_file=$((RANDOM % MAX))
ln -s $file $DIR/$new_file 2> /dev/null