Whamcloud - gitweb
LU-14739 quota: nodemap squashed root cannot bypass quota
[fs/lustre-release.git] / lustre / tests / racer / file_concat.sh
index 8dde304..79f0d92 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+trap 'kill $(jobs -p)' EXIT
 
 DIR=$1
 MAX=$2
@@ -9,7 +10,7 @@ concat(){
 
 }
 
-while /bin/true ; do 
+while /bin/true ; do
     file=$((RANDOM % MAX))
     new_file=$((RANDOM % MAX))
     concat 2> /dev/null