Whamcloud - gitweb
LU-14499 lnet: Revert "LU-13368 lnet: discard the callback"
[fs/lustre-release.git] / lustre / tests / recovery-double-scale.sh
index 82dce37..021431d 100644 (file)
@@ -26,7 +26,7 @@ build_test_filter
 remote_mds_nodsh && skip_env "remote MDS with nodsh"
 remote_ost_nodsh && skip_env "remote OST with nodsh"
 
-[ -z "$CLIENTS" -o $CLIENTCOUNT -lt 3 ] &&
+(( CLIENTCOUNT >= 3 )) ||
        skip_env "need three or more clients"
 
 if [ -z "$SHARED_DIRECTORY" ] || ! check_shared_dir $SHARED_DIRECTORY; then
@@ -303,6 +303,6 @@ run_test pairwise_fail "pairwise combination of clients, MDS, and OST failures"
 zconf_mount $HOSTNAME $MOUNT || error "mount $MOUNT on $HOSTNAME failed"
 client_up || error "start client on $HOSTNAME failed"
 
-complete $SECONDS
+complete_test $SECONDS
 check_and_cleanup_lustre
 exit_status