Whamcloud - gitweb
LU-16502 lutf: fix bugs in bash scripts 28/49728/4
authorTimothy Day <timday@amazon.com>
Sat, 21 Jan 2023 01:40:13 +0000 (01:40 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Feb 2023 06:05:15 +0000 (06:05 +0000)
commit3cd0bb6968fc3432b7d1641bf0489e4e4b1e809f
tree9e183aa5a61a84d55c0a6600032a7cdd60e7b2bb
parent9a72c073d33b0454229402c0cc930dc4e796107b
LU-16502 lutf: fix bugs in bash scripts

Addressed some issues I found when running
LUTF. The "rm" fails without a file to remove.
A Lustre wiki led me to source the script, but this
will log out of the current shell. Adding a warning
against doing this.

Also, fix shellcheck errors and a few warnings in
LUTF related scripts. Added bash shebangs, since
shellcheck requires these to lint the scripts.

Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I501d58d25bfcd6564755485b9a1afa2277848b96
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49728
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
lustre/tests/lutf.sh [changed mode: 0644->0755]
lustre/tests/lutf/python/config/lutf_start.sh