diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh
index 4979ff242c1fc66f9081877281e4f74f7bdcae3f..9cd8a3744eb49587ebd2df1e7babb2dac0b425b3 100644
--- a/lustre/tests/sanity-quota.sh
+++ b/lustre/tests/sanity-quota.sh
@@ -582,7 +582,7 @@ run_test 6 "Block quota acquire & release ========="
 # quota recovery (block quota only by now)
 test_7()
 {
-	remote_mds && skip "remote mds"
+	remote_mds && skip "remote mds" && return 0
 
 	LIMIT=$(( $BUNIT_SZ * $(($OSTCOUNT + 1)) * 10)) # 10 bunits each sever
 	TESTFILE="$TSTDIR/quota_tst70"