X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fracer.sh;h=edcf900a81b68f4ea4e4cc81cb78d31bb938ddde;hb=7af2428511c286788d9c73c436cb43d6f791821f;hp=66596ae37b184cab6adb4b4b46e8cc53a3f2eafe;hpb=dc64eb8e2f3e8e9abbaab2762babcdd5c8446c4c;p=fs%2Flustre-release.git diff --git a/lustre/tests/racer.sh b/lustre/tests/racer.sh index 66596ae..edcf900 100644 --- a/lustre/tests/racer.sh +++ b/lustre/tests/racer.sh @@ -12,21 +12,24 @@ init_logging racer=$LUSTRE/tests/racer/racer.sh echo racer: $racer +DURATION=${DURATION:-900} +[ "$SLOW" = "no" ] && DURATION=300 +MOUNT_2=${MOUNT_2:-"yes"} + +build_test_filter +check_and_setup_lustre + CLIENTS=${CLIENTS:-$HOSTNAME} -RACERDIRS=${RACERDIRS:-$DIR} +RACERDIRS=${RACERDIRS:-"$DIR $DIR2"} echo RACERDIRS=$RACERDIRS for d in ${RACERDIRS}; do + is_mounted $d || continue + RDIRS="$RDIRS $d/racer" mkdir -p $d/racer # lfs setstripe $d/racer -c -1 done -DURATION=${DURATION:-900} -[ "$SLOW" = "no" ] && DURATION=300 - -build_test_filter -check_and_setup_lustre - # run racer test_1() { local rrc=0