Whamcloud - gitweb
LU-13933 tests: remove some unnecessary back-slashes. 50/39750/6
authorMr NeilBrown <neilb@suse.de>
Thu, 13 Aug 2020 05:16:24 +0000 (15:16 +1000)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Apr 2021 02:10:42 +0000 (02:10 +0000)
commit8ce1d41b9cacafe8d3833dc8578c6057fba2ef9a
tree7c2657e46817db5755f9e3b7a2d64d3b03ec23ad
parent79ab0535622782c82636cee47918dc4b19983144
LU-13933 tests: remove some unnecessary back-slashes.

Various scripts use "\ " where the "\" isn't needed.

In an 'awk' pattern, using "\ " is wrong.
In the arg to 'tr', there is no need to '\' a space.

In shell code, <<" foo ">> is easier to read than <<\ foo\ >>.

Also:

In shell code <<name="value">> can be <<name=value>> if <<value>>
doesn't contain unquoted spaces.  If value does contain quoted <<">>,
the extra quotes make it hard to read.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I53d0522071016286b4ef9f576f4a4e46b1ba2d6d
Reviewed-on: https://review.whamcloud.com/39750
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-sec.sh
lustre/tests/sanity.sh
lustre/tests/setup_kerberos.sh
lustre/tests/test-framework.sh