Whamcloud - gitweb
Branch b1_8_gate
authorrobert.read <robert.read>
Tue, 21 Oct 2008 22:29:54 +0000 (22:29 +0000)
committerrobert.read <robert.read>
Tue, 21 Oct 2008 22:29:54 +0000 (22:29 +0000)
b=1819
i=adilger
i=nathan

Add test for new proc file.

lustre/tests/sanity.sh

index 433c19e..1f76875 100644 (file)
@@ -151,6 +151,12 @@ test_0b() {
 }
 run_test 0b "chmod 0755 $DIR ============================="
 
+test_0c() {
+    $LCTL get_param mdc.*.import | grep  "state: FULL" || error "import not FULL"
+    $LCTL get_param mdc.*.import | grep  "target: $FSNAME-MDT" || error "bad target"
+}
+run_test 0c "check import proc ============================="
+
 test_1a() {
        mkdir $DIR/d1
        mkdir $DIR/d1/d2