Whamcloud - gitweb
LU-16827 obdfilter: Fix obdfilter-survery/1a
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Mon, 23 Oct 2023 10:21:55 +0000 (12:21 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 27 Oct 2023 21:43:00 +0000 (21:43 +0000)
commitcea06426c2451695366bf7ca70f1f50420a7c86c
treec98570bf38e9d06904e665bb5609aa64ef975224
parente264461bd19785ca1f651faecee0aca83c19835c
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

Lustre-change: https://review.whamcloud.com/51035
Lustre-commit: 91a3b286ba57bb491b5c17600d7cec9e516a428f

Test-Parameters: testlist=obdfilter-survey,sanity-lipe-scan3,sanity-lipe-find3
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I7bcb483975ec46d9847e0050e5a1f22f68663c80
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52800
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre-iokit/obdfilter-survey/obdfilter-survey
lustre/tests/obdfilter-survey.sh
lustre/tests/test-framework.sh