diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a5f5c2ea4da43ffd1f687d91217c6148c51ecfb7..2c2d75545935ecfdaf098ea121bc4e7e307388ff 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -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