From bbfc21ff858dda2520ac6779b6356202a3577170 Mon Sep 17 00:00:00 2001
From: nathan <nathan>
Date: Thu, 31 May 2007 17:11:19 +0000
Subject: [PATCH] b=12586 check for mount err. Bad nathan, no inspection.

---
 lustre/tests/recovery-small.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh
index bf472ddcd2..f81a27e056 100755
--- a/lustre/tests/recovery-small.sh
+++ b/lustre/tests/recovery-small.sh
@@ -604,7 +604,8 @@ test_26() {      # bug 5921 - evict dead exports by pinger
 run_test 26 "evict dead exports"
 
 test_26b() {      # bug 10140 - evict dead exports by pinger
-	zconf_mount `hostname` $MOUNT2
+	client_df
+	zconf_mount `hostname` $MOUNT2 || error "Failed to mount $MOUNT2"
 	MDS_FILE=$LPROC/mds/${mds_svc}/num_exports
         MDS_NEXP1="`do_facet mds cat $MDS_FILE | cut -d' ' -f2`"
 	OST_FILE=$LPROC/obdfilter/${ost1_svc}/num_exports
-- 
GitLab