From 5053b49666efa484e45a7a2260e33977595f3a28 Mon Sep 17 00:00:00 2001 From: Li Wei Date: Mon, 25 Jun 2012 21:24:53 +0800 Subject: [PATCH 1/1] 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 --- lustre/tests/mds-survey.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.8.3.1