From 91bc65925394ba89468cfa177fc14749787fef73 Mon Sep 17 00:00:00 2001
From: "robert.read" <robert.read>
Date: Tue, 21 Oct 2008 22:30:53 +0000
Subject: [PATCH] Branch HEAD b=1819 i=adilger i=nathan

Add test for new proc file.
---
 lustre/tests/sanity.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index a5f5c2ea4d..2c2d755459 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
-- 
GitLab