From: Dmitry Zogin Date: Thu, 18 Mar 2010 18:48:05 +0000 (-0400) Subject: b=22327 "lfs df" does not print stats for all mountpoints X-Git-Tag: v1_8_2_55~17 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=135b8c9cf38d65303770dd4dfe0bd574e5c399b2;p=fs%2Flustre-release.git b=22327 "lfs df" does not print stats for all mountpoints Added sanityN.sh test_24b i=andreas.dilger --- diff --git a/lustre/tests/sanityN.sh b/lustre/tests/sanityN.sh index a0f9243..1d4ac91 100644 --- a/lustre/tests/sanityN.sh +++ b/lustre/tests/sanityN.sh @@ -450,7 +450,7 @@ test_23() { # Bug 5972 } run_test 23 " others should see updated atime while another read====" -test_24() { +test_24a() { touch $DIR1/$tfile lfs df || error "lfs df failed" lfs df -ih || error "lfs df -ih failed" @@ -465,7 +465,14 @@ test_24() { lctl --device %$OSC recover lfs df || error "lfs df with reactivated OSC failed" } -run_test 24 "lfs df [-ih] [path] test =========================" +run_test 24a "lfs df [-ih] [path] test =========================" + +test_24b() { + touch $DIR1/$tfile + fsnum=`lfs df | grep -c "filesystem summary:"` + [ $fsnum -eq 2 ] || error "lfs df shows $fsnum != 2 filesystems." +} +run_test 24b "lfs df should show both filesystems ===============" test_25() { [ `lctl get_param -n mdc.*-mdc-*.connect_flags | grep -c acl` -lt 2 ] && \