Whamcloud - gitweb
b=17477
authorgrev <grev>
Fri, 7 Nov 2008 20:35:25 +0000 (20:35 +0000)
committergrev <grev>
Fri, 7 Nov 2008 20:35:25 +0000 (20:35 +0000)
i=Adilger
replace cleanup_and_setup_lustre fn by check_and_setup_lustre fn

lustre/tests/insanity.sh
lustre/tests/recovery-small.sh
lustre/tests/replay-dual.sh
lustre/tests/replay-single.sh
lustre/tests/sanity-gss.sh
lustre/tests/sanity-quota.sh

index 2704a3e..61a18f6 100755 (executable)
@@ -162,7 +162,7 @@ clients_recover_osts() {
 #    do_node $CLIENTS "$LCTL "'--device %OSC_`hostname`_'"${facet}_svc_MNT_client_facet recover"
 }
 
 #    do_node $CLIENTS "$LCTL "'--device %OSC_`hostname`_'"${facet}_svc_MNT_client_facet recover"
 }
 
-cleanup_and_setup_lustre
+check_and_setup_lustre
 
 # 9 Different Failure Modes Combinations
 echo "Starting Test 17 at `date`"
 
 # 9 Different Failure Modes Combinations
 echo "Starting Test 17 at `date`"
index c02fd18..35193eb 100755 (executable)
@@ -31,7 +31,7 @@ build_test_filter
 SETUP=${SETUP:-""}
 CLEANUP=${CLEANUP:-""}
 
 SETUP=${SETUP:-""}
 CLEANUP=${CLEANUP:-""}
 
-cleanup_and_setup_lustre
+check_and_setup_lustre
 
 assert_DIR
 rm -rf $DIR/[df][0-9]*
 
 assert_DIR
 rm -rf $DIR/[df][0-9]*
index 3f764c2..8806f2a 100755 (executable)
@@ -30,7 +30,7 @@ remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0
 
 build_test_filter
 
 
 build_test_filter
 
-cleanup_and_setup_lustre
+check_and_setup_lustre
 assert_DIR
 rm -rf $DIR/[df][0-9]*
 
 assert_DIR
 rm -rf $DIR/[df][0-9]*
 
index c3a2fd0..113ba91 100755 (executable)
@@ -34,7 +34,7 @@ fi
 
 build_test_filter
 
 
 build_test_filter
 
-cleanup_and_setup_lustre
+check_and_setup_lustre
 
 mkdir -p $DIR
 
 
 mkdir -p $DIR
 
index a6c8166..62c7017 100644 (file)
@@ -81,7 +81,7 @@ prepare_krb5_creds
 
 # we want double mount
 MOUNT_2=${MOUNT_2:-"yes"}
 
 # we want double mount
 MOUNT_2=${MOUNT_2:-"yes"}
-cleanup_and_setup_lustre
+check_and_setup_lustre
 
 rm -rf $DIR/[df][0-9]*
 
 
 rm -rf $DIR/[df][0-9]*
 
index 6298d3d..cb3dc82 100644 (file)
@@ -61,7 +61,7 @@ QUOTALOG=${TESTSUITELOG:-$TMP/$(basename $0 .sh).log}
 DIR=${DIR:-$MOUNT}
 DIR2=${DIR2:-$MOUNT2}
 
 DIR=${DIR:-$MOUNT}
 DIR2=${DIR2:-$MOUNT2}
 
-cleanup_and_setup_lustre
+check_and_setup_lustre
 
 LOVNAME=`cat $LPROC/llite/*/lov/common_name | tail -n 1`
 OSTCOUNT=`cat $LPROC/lov/$LOVNAME/numobd`
 
 LOVNAME=`cat $LPROC/llite/*/lov/common_name | tail -n 1`
 OSTCOUNT=`cat $LPROC/lov/$LOVNAME/numobd`