X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Flarge-scale.sh;h=2b70efc1560801dc386657e160091b3b9d413e1a;hb=7b68455b64a585a439be1126b97716d8711b6c4e;hp=7973edb1e2778dc2b7ed1a6f74168cd550c14474;hpb=c8790ae52393d96fc71aa4edea0e5051c54431e9;p=fs%2Flustre-release.git diff --git a/lustre/tests/large-scale.sh b/lustre/tests/large-scale.sh index 7973edb..2b70efc 100644 --- a/lustre/tests/large-scale.sh +++ b/lustre/tests/large-scale.sh @@ -8,7 +8,7 @@ CLEANUP=${CLEANUP:-""} LUSTRE=${LUSTRE:-$(dirname $0)/..} . $LUSTRE/tests/test-framework.sh -init_test_env $@ +init_test_env "$@" init_logging ALWAYS_EXCEPT="$LARGE_SCALE_EXCEPT " @@ -17,7 +17,6 @@ build_test_filter remote_mds_nodsh && skip "remote MDS with nodsh" -[ -z "$CLIENTS" ] && skip_env "$TESTSUITE: Need two or more clients" [ $CLIENTCOUNT -lt 2 ] && skip_env "$TESTSUITE: Need 2+ clients, have only $CLIENTCOUNT" @@ -57,7 +56,7 @@ test_3a() { chmod 0777 $dir while [ $num -le $CLIENTCOUNT ]; do - list=$(comma_list ${nodes[@]:0:$num}) + list=$(comma_list "${nodes[@]:0:$num}") generate_machine_file $list $MACHINEFILE || error "can not generate machinefile" @@ -108,6 +107,6 @@ test_3a() { run_test 3a "recovery time, $CLIENTCOUNT clients" -complete $SECONDS +complete_test $SECONDS check_and_cleanup_lustre exit_status