Whamcloud - gitweb
LU-12399 tests: avoid 'pdsh localhost' in sanity test_420 50/35250/2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 17 Jun 2019 19:30:26 +0000 (12:30 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jul 2019 03:23:59 +0000 (03:23 +0000)
commit4df2ac9ddc717b435773ddf0bbe5c89ac0c9fda0
tree23b729918b07af48af684b6a598398c540254563
parent4d863145dd63d387e138bb20dcf2d5f1b66a52aa
LU-12399 tests: avoid 'pdsh localhost' in sanity test_420

sanity test_420 needs a clean env to execute openfile, ie not
inherited from root user.
Replace 'pdsh localhost' with simpler 'su - $uname -c' alternative
to achieve this.

This patch is back-ported from the following one:
Lustre-commit: 1476ac047b449886a0c382b840a7b09dc0cec7eb
Lustre-change: https://review.whamcloud.com/35176

Test-Parameters: trivial envdefinitions=ONLY=420 testlist=sanity
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Ifeba7fc1eba86d74a64cca187e286adb23147e2e
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/35250
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh