Whamcloud - gitweb
LU-15934 tests: add a test case for update llog
[fs/lustre-release.git] / lustre / tests / large-scale.sh
index 7973edb..0eede94 100644 (file)
@@ -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"