Whamcloud - gitweb
LU-12131 tests: only create lgssc.conf file if necessary 20/34520/12
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 9 Apr 2019 12:58:20 +0000 (14:58 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 4 May 2019 05:57:02 +0000 (05:57 +0000)
commit66919f2b687f8b15679e6ff4e22a3f66f7d1c13a
tree2976b76d423d8ad4fde2c1da0ec9baa6866cd2a4
parentbe5483d3cdd72b275c13954b721d1890165e55de
LU-12131 tests: only create lgssc.conf file if necessary

lgssc.conf file is now packaged by Lustre, and installed under
/etc/request-key.d/.
So, unless run from build tree, init_gss() must not create its own
anymore. So adjust corresponding commands in init_gss() and
cleanup_sk().

Fixes: e299df1e9eea ("LU-7854 gss: install lgssc.conf under /etc/request-key.d")
Whamcloud-bug-id: ATM-1283
Test-Parameters: envdefinitions=SHARED_KEY=true testlist=sanity-sec
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I9cc76fddb8a622d7c40d6348913df42ae063254a
Reviewed-on: https://review.whamcloud.com/34520
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/test-framework.sh