Whamcloud - gitweb
b=17477
authorgrev <grev>
Tue, 25 Nov 2008 19:24:47 +0000 (19:24 +0000)
committergrev <grev>
Tue, 25 Nov 2008 19:24:47 +0000 (19:24 +0000)
i=Huang Hua
check_config fn default network type fix

lustre/tests/test-framework.sh

index 668adb8..dc71129 100644 (file)
@@ -1299,6 +1299,7 @@ check_config () {
     
     echo Checking config lustre mounted on $mntpt
     local mgshost=$(mount | grep " $mntpt " | awk -F@ '{print $1}')
+    mgshost=$(echo $mgshost | awk -F: '{print $1}')
     if [ "$mgshost" != "$mgs_HOST" ]; then
         FAIL_ON_ERROR=true \
             error "Bad config file: lustre is mounted with mgs $mgshost, but mgs_HOST=$mgs_HOST