From 2cecd02a5c67ab490785e36a32abc8d8a1afae2f Mon Sep 17 00:00:00 2001
From: anserper <anserper>
Date: Tue, 25 Nov 2008 23:22:51 +0000
Subject: [PATCH] Branch HEAD b=17371 i=Elena fail each time setup/cleanup does
 not work

---
 lustre/tests/sanity.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 3cfcc5b94d..37b04d183c 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -5764,8 +5764,8 @@ test_141() {
         for ls in /proc/fs/lustre/ldlm/namespaces/MGC*/lru_size; do
                 echo "clear" > $ls
         done
-        cleanup || error "failed to cleanup"
-        setup || error "failed to setup"
+        FAIL_ON_ERROR=true cleanup
+        FAIL_ON_ERROR=true setup
 }
 run_test 141 "umount should not race with any mgc requeue thread"
 
-- 
GitLab