Whamcloud - gitweb
LU-9286 ptlrpc: fix wrong error handlers
[fs/lustre-release.git] / lustre / tests / parallel-scale-nfs.sh
index 2e0bbd2..4f698c3 100755 (executable)
@@ -12,6 +12,7 @@ fi
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 init_logging
 
+racer=$LUSTRE/tests/racer/racer.sh
 . $LUSTRE/tests/setup-nfs.sh
 
 check_and_setup_lustre
@@ -20,7 +21,8 @@ check_and_setup_lustre
 cleanup_mount $MOUNT
 # mount lustre on mds
 lustre_client=$(facet_active_host $SINGLEMDS)
-[ "$NFSVERSION" = "4" ] && cl_mnt_opt="$MOUNTOPT,32bitapi" || cl_mnt_opt=""
+[ "$NFSVERSION" = "4" ] && cl_mnt_opt="${MOUNT_OPTS:+$MOUNT_OPTS,}32bitapi" ||
+    cl_mnt_opt=""
 zconf_mount_clients $lustre_client $MOUNT "$cl_mnt_opt" || \
     error "mount lustre on $lustre_client failed"
 
@@ -97,6 +99,11 @@ test_iorfpp() {
 }
 run_test iorfpp "iorfpp"
 
+test_racer_on_nfs() {
+       $racer $CLIENTS
+}
+run_test racer_on_nfs "racer on NFS client"
+
 # cleanup nfs
 cleanup_nfs "$MOUNT" "$lustre_client" "$CLIENTS" || \
     error_noexit false "cleanup_nfs failed"