From: Emoly Liu Date: Fri, 4 May 2018 05:19:28 +0000 (+0800) Subject: LU-10972 test: get client uuid correctly X-Git-Tag: 2.11.53~96 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2eb4c73c4c00da17f8f27bf1d7dd2950e523d9c0;p=fs%2Flustre-release.git LU-10972 test: get client uuid correctly Correct sanity.sh test_0d script to get client uuid value only. Test-Parameters:trivial testlist=sanity envdefinitions=ONLY=0d \ serverjob=lustre-b2_11 serverbuildno=2 Change-Id: I6167d9b9c3c3e86f2a5581f8ac4ccab8f1137ce7 Signed-off-by: Emoly Liu Reviewed-on: https://review.whamcloud.com/32289 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Nunez --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c48a44d..28985d2 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -200,7 +200,7 @@ test_0d() { # LU-3397 $LCTL get_param mgc.*.import | tee $temp_imp # Check if client uuid is found in MGS export for exp_client_nid in $(do_facet mgs $LCTL get_param -N $mgs_exp.*); do - [ $(do_facet mgs $LCTL get_param $exp_client_nid.uuid) == \ + [ $(do_facet mgs $LCTL get_param -n $exp_client_nid.uuid) == \ $client_uuid ] && break; done