Whamcloud - gitweb
LU-11673 tests: replace obsolete '-o' to '||' 70/33670/8
authorJames Nunez <jnunez@whamcloud.com>
Thu, 15 Nov 2018 23:28:07 +0000 (16:28 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Apr 2019 03:36:45 +0000 (03:36 +0000)
commit6d277f126df7605d402255333180b0ca03991613
treee59aa7be859e2a0d268cacf1afed760ea2062ffd
parentd5be104cc9b0c7a71b30aa5feb16873aa30803a9
LU-11673 tests: replace obsolete '-o' to '||'

Since use of -o and -a are marked as obsolete in shell
test ([), we need to switch from using [ expr1 –o expr2 ]
to [ expr1] || [ expr2 ].

Make this change for sanity tests.

Test-Parameters: trivial
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Id87580d0280a716a6939a1203ae5b370e762d6ec
Reviewed-on: https://review.whamcloud.com/33670
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh