From 38606007f9f3bb811f4708db2c39f1009c79a624 Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Wed, 19 Nov 2008 19:00:07 +0000
Subject: [PATCH] b=17477 i=Yury.Umanets run acc-sm:formatall() only if forced

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

diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh
index 8b98001077..fc0ba898b7 100755
--- a/lustre/tests/acceptance-small.sh
+++ b/lustre/tests/acceptance-small.sh
@@ -57,7 +57,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
-- 
GitLab