Whamcloud - gitweb
LU-16915 tests: improve distro type checking
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 12 Apr 2024 01:18:28 +0000 (19:18 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 30 May 2024 00:39:17 +0000 (00:39 +0000)
commit81e3d27adf705b2f00f14847dd496b837358e139
tree8fc29928931392e113c86004ae82a80736d1e721
parent1bafe95c060631ac96ebe869f0af01a4571ea0c6
LU-16915 tests: improve distro type checking

Improve lustre_os_release() infrastructure to reduce redundant
code and make it easier to use.

Lustre-change: https://review.whamcloud.com/54790
Lustre-commit: 1ffbec13c0f745d0b9c6b91959b1afa52f99d63b

Test-Parameters: trivial
Fixes: 339b5e918f ("LU-16915 tests: except sanity-sec test_51")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Id02223752df4eb3fd3b62b339e8c417eb33ebbe5
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55213
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-sec.sh
lustre/tests/sanity.sh
lustre/tests/test-framework.sh