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

Add test for new proc file.

lustre/tests/sanity.sh

index a5f5c2e..2c2d755 100644 (file)
@@ -159,6 +159,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