Whamcloud - gitweb
LU-16827 obdfilter: Fix obdfilter-survery/1a 35/51035/12
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Thu, 24 Aug 2023 05:58:14 +0000 (01:58 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:17:08 +0000 (06:17 +0000)
commit91a3b286ba57bb491b5c17600d7cec9e516a428f
tree23d7047b17d4d5fdebe42db3514de95960762e1e
parent5c59f8551a96ec0b3bbb935a3173c75e878d9ff0
LU-16827 obdfilter: Fix obdfilter-survery/1a

local_node() under test-framework is used
to determine if the node is remote or local
local_node() returns "true" if the node is
local. Else for remote node it return "false"

This patch fixes obdfilter/1a test case which
which was making reverse logic call to
local_node() to determine remote/local node

This patch modifies local_node() to return
"true"/"false" instead of 0/1

This patch also replaces lctl with $LCTL

Test-Parameters: testlist=obdfilter-survey
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I7bcb483975ec46d9847e0050e5a1f22f68663c80
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51035
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-iokit/obdfilter-survey/obdfilter-survey
lustre/tests/obdfilter-survey.sh
lustre/tests/test-framework.sh