Whamcloud - gitweb
LU-6345 test: compare /bin/sleep in sanity-hsm.sh test_30c
[fs/lustre-release.git] / lustre / tests / racer / file_truncate.sh
index 1c85e6f..8c19285 100755 (executable)
@@ -3,6 +3,8 @@
 DIR=$1
 MAX=$2
 
+TRUNCATE=${TRUNCATE:-$LUSTRE/tests/truncate}
+
 while true; do
        file=$DIR/$((RANDOM % MAX))
        $TRUNCATE $file $RANDOM 2> /dev/null