Whamcloud - gitweb
LU-14772 tests: Change init ENV in conf-sanity.sh 00/59800/3
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Tue, 17 Jun 2025 14:37:44 +0000 (16:37 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Jul 2025 13:18:54 +0000 (13:18 +0000)
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/tests/conf-sanity.sh

index 2e8b86d..04a6fb2 100755 (executable)
@@ -10,9 +10,9 @@ export FORCE_TEST_111=${FORCE_TEST_111:-false}
 
 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