Whamcloud - gitweb
LU-1538 tests: standardize test script init - lnet 54/35254/2
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 17 Jun 2019 20:59:39 +0000 (14:59 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jul 2019 03:10:53 +0000 (03:10 +0000)
commit887baafe7aed204014634368783e31484c2365e5
tree97d4d7b1bf56e00b9ec151614e151053f5e7ac84
parentb511c65f468698aeb6e68f091ee3f30ec27830d0
LU-1538 tests: standardize test script init - lnet

Standardize the initial Lustre test script initialization for clarity
and consistency.

The LUSTRE path is already normalized in init_test_env(), so this
doesn't need to be done in the caller.  Use $(...) subshells instead
of `...` in the affected lines.  Remove NAME, PATH, SAVE_PWD,
RLUSTRE, MULTIOP variable initialization, since it is already done in
init_test_env() or not needed in the test script.

Move all definitions of ALWAYS_EXCEPT and SLOW to after
init_test_env() and init_logging() and call build_test_filter()
immediately after the ALWAYS_EXCEPT and SLOW definitions.

Test-Parameters: trivial
Test-Parameters: testgroup=review-dne-zfs-part-3
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I491cf3e282a1f31fb8c87440554445d708c6da1e
Reviewed-on: https://review.whamcloud.com/35254
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh
lustre/tests/lnet-selftest.sh