From: Li Wei Date: Mon, 25 Jun 2012 13:24:53 +0000 (+0800) Subject: LU-1561 tests: Fix ALWAYS_EXCEPT in mds-survey.sh X-Git-Tag: 2.2.59~15 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5053b49666efa484e45a7a2260e33977595f3a28;p=fs%2Flustre-release.git LU-1561 tests: Fix ALWAYS_EXCEPT in mds-survey.sh Modifying the ALWAYS_EXCEPT assignment in mds-survey.sh does not take effect, because the test filters have already been built. This patch moves the build_test_filter() call below the ALWAYS_EXCEPT assignment. Also moved downward is the check_and_setup_lustre() call, which usually goes after environment checks. Test-Parameters: testlist=mds-survey Change-Id: I547310e4fccfaaa4fbe7010e14baefa2ab9bbdd4 Signed-off-by: Li Wei Reviewed-on: http://review.whamcloud.com/3183 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Yu Jian Reviewed-by: wangdi Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/mds-survey.sh b/lustre/tests/mds-survey.sh index 26987c2..c75e359 100644 --- a/lustre/tests/mds-survey.sh +++ b/lustre/tests/mds-survey.sh @@ -8,9 +8,6 @@ init_test_env $@ . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh} init_logging -build_test_filter -check_and_setup_lustre - file_count=${file_count:-150000} dir_count=${dir_count:-4} thrhi=${thrhi:-8} @@ -26,6 +23,9 @@ if [ -z ${MDSSURVEY} ]; then skip_env "mds-survey not found" && exit fi +build_test_filter +check_and_setup_lustre + adjust_inode() { local require_inode=0 local avail_mdt_inode=0