Whamcloud - gitweb
Branch b1_8_gate
authoranserper <anserper>
Sun, 13 Jul 2008 15:33:09 +0000 (15:33 +0000)
committeranserper <anserper>
Sun, 13 Jul 2008 15:33:09 +0000 (15:33 +0000)
b=16294
i=ZhiYong Tian(tianzy)

remove pre_test_14

lustre/tests/sanity-quota.sh

index b8164a5..a5d7e32 100644 (file)
@@ -1091,17 +1091,14 @@ check_if_quota_zero(){
        echo "pass check_if_quota_zero"
 }
 
-pre_test_14 () {
+test_14a() {   # was test_14 b=12223 -- setting quota on root
+       TESTFILE="$DIR/$tdir/$tfile"
+
         # reboot the lustre
         sync; sleep 5; sync
-        cd $T_PWD; sh llmountcleanup.sh || error "llmountcleanup failed"
-        sh llmount.sh
-        run_test 0 "reboot lustre"
-}
-pre_test_14
+        cleanup_and_setup_lustre
+        test_0
 
-test_14a() {   # was test_14 b=12223 -- setting quota on root
-       TESTFILE="$DIR/$tdir/$tfile"
        mkdir -p $DIR/$tdir
 
        # out of root's file and block quota