init_test_env $@
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
+init_logging
remote_mds_nodsh && log "SKIP: remote MDS with nodsh" && exit 0
-[ -n "$CLIENTS" ] || { skip "$0: Need two or more clients" && exit 0; }
+[ -n "$CLIENTS" ] || { skip_env "$0: Need two or more clients" && exit 0; }
[ $CLIENTCOUNT -ge 2 ] || \
- { skip "$0: Need two or more clients, have $CLIENTCOUNT" && exit 0; }
+ { skip_env "$0: Need two or more remote clients, have $CLIENTCOUNT" && exit 0; }
#
[ "$SLOW" = "no" ] && EXCEPT_SLOW=""
local IFree=$(inodes_available)
[ $IFree -gt $nfiles ] || nfiles=$IFree
- local dir=$DIR/$tdir
+ local dir=$DIR/d0.$TESTNAME
mkdir -p $dir
chmod 0777 $dir
run_test 3a "recovery time, $CLIENTCOUNT clients"
-equals_msg `basename $0`: test complete, cleaning up
+complete $(basename $0) $SECONDS
check_and_cleanup_lustre
-[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG || true
+exit_status