This patch moves the initialization of init_test_env() so
that it is executed before the conf-sanity-framework.sh
library is sourced.
Fixes:
4a9fc7cebaad24cadf3213906fda193d8c681226 ("LU-14772 tests: Add conf-sanity-framework.sh")
Test-Parameters: trivial testlist=conf-sanity
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I8b21bb56cdefe8d31d3e4e5653fcfcbb32c5c5e7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59800
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
LUSTRE=${LUSTRE:-$(dirname $0)/..}
. $LUSTRE/tests/test-framework.sh
+init_test_env "$@"
. $LUSTRE/tests/conf-sanity-framework.sh
-init_test_env "$@"
init_logging
# tool to create lustre filesystem images