Whamcloud - gitweb
LU-15614 tests: Variable incorrectly used in sanity-flr/203 90/46690/2
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Thu, 3 Mar 2022 08:50:52 +0000 (14:20 +0530)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 Mar 2022 06:16:05 +0000 (06:16 +0000)
commit94dee86fbcf72ded71c633f7de1bdf2713d6d769
tree8de4b893c66f5850af9e574d25ed1b24e005db3e
parent4af4f48e9e5e01c39ab0485a3512a554991e1c1b
LU-15614 tests: Variable incorrectly used in sanity-flr/203

Under sanity-flr.sh/203 variable 'old_id' and
'new_id' is defined incorrectly as 'oldid' and
'newid'. This was exposed using shellcheck.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In lustre/tests/sanity-flr.sh line 3258:
[[ x$oldid = x$newid ]] ||
^-- SC2154: oldid is referenced but not assigned (did you mean 'old_id'?).
^-- SC2154: newid is referenced but not assigned (did you mean 'new_id'?).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Test-Parameters: trivial testlist=sanity-flr
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I37949035f50dfdd33e5181ad888f68fcb204c385
Reviewed-on: https://review.whamcloud.com/46690
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-flr.sh