Whamcloud - gitweb
LU-3348 test: use correct old path in racer's file_link.sh
[fs/lustre-release.git] / lustre / tests / racer / file_link.sh
1 #!/bin/bash
2
3 DIR=$1
4 MAX=$2
5
6 while true; do
7         old_path=$DIR/$((RANDOM % MAX))
8         new_path=$DIR/$((RANDOM % MAX))
9         ln $old_path $new_path 2> /dev/null
10 done