LUSTRE=${LUSTRE:-$(dirname $0)/..}
. $LUSTRE/tests/test-framework.sh
-init_test_env $@
+init_test_env "$@"
init_logging
ALWAYS_EXCEPT="$LARGE_SCALE_EXCEPT "
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"
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"
run_test 3a "recovery time, $CLIENTCOUNT clients"
-complete $SECONDS
+complete_test $SECONDS
check_and_cleanup_lustre
exit_status