X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanityn.sh;h=294b4966bf4a2c7699ceff047f96eda44d033312;hb=b63efc864794860f84f852ba3c89390676b18070;hp=fd15b4c38338d97cb4b8bb88c03bea1b38f570e1;hpb=55b8a464fc8a101ae7ceeb6b40f2e3c6f51d7b6e;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index fd15b4c..294b4966 100644 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -499,7 +499,7 @@ run_test 24a "lfs df [-ih] [path] test =========================" test_24b() { touch $DIR1/$tfile - fsnum=`lfs df | grep -c "filesystem summary:"` + fsnum=$(lfs_df | grep -c "summary") [ $fsnum -eq 2 ] || error "lfs df shows $fsnum != 2 filesystems." } run_test 24b "lfs df should show both filesystems ===============" @@ -973,7 +973,7 @@ test_36() { #bug 16417 let i=i+1 done } -run_test 36 "handle ESTALE/open-unlink corectly" +run_test 36 "handle ESTALE/open-unlink correctly" test_37() { # bug 18695 mkdir -p $DIR1/$tdir