From 2eb4c73c4c00da17f8f27bf1d7dd2950e523d9c0 Mon Sep 17 00:00:00 2001 From: Emoly Liu Date: Fri, 4 May 2018 13:19:28 +0800 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1