Whamcloud - gitweb
b=17477
authorgrev <grev>
Wed, 19 Nov 2008 19:04:56 +0000 (19:04 +0000)
committergrev <grev>
Wed, 19 Nov 2008 19:04:56 +0000 (19:04 +0000)
i=Yury.Umanets
run acc-sm:formatall() only if forced

lustre/tests/acceptance-small.sh

index 09fbb63..9d14d74 100755 (executable)
@@ -65,7 +65,8 @@ setup_if_needed() {
     fi
 
     echo "Lustre is not mounted, trying to do setup SETUP=$SETUP ... "
-    $FORMAT && $SETUP
+    [ "$REFORMAT" ] && $FORMAT
+    $SETUP
 
     MOUNTED=$(mounted_lustre_filesystems)
     if ! $(echo $MOUNTED | grep -w -q $MOUNT); then