From e46c41ad7d7597aecd91f95b757740fc29ba7791 Mon Sep 17 00:00:00 2001 From: Wai Yee Wong Date: Thu, 1 Oct 2020 12:47:20 -0400 Subject: [PATCH] Fix restapi_list_groups: The command was in TWO lines, not ONE. --- xCAT-test/autotest/testcase/restapi/cases0 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-test/autotest/testcase/restapi/cases0 b/xCAT-test/autotest/testcase/restapi/cases0 index e61d1de55..06eba7fa6 100644 --- a/xCAT-test/autotest/testcase/restapi/cases0 +++ b/xCAT-test/autotest/testcase/restapi/cases0 @@ -45,8 +45,7 @@ end start:restapi_list_groups description: List groups on the management node with "curl -X GET" label:restapi -cmd:username=__GETTABLEVALUE(key,system,username,passwd)__;password=__GETTABLEVALUE(key,system,password,passwd)__;xdsh $$CN "curl -X GET -s -k --cacert /root/ca-cert.pem 'https://$$MN/xcatws/groups?userName=$ -username&userPW=$password' | sed 's/\"//g'" +cmd:username=__GETTABLEVALUE(key,system,username,passwd)__;password=__GETTABLEVALUE(key,system,password,passwd)__;xdsh $$CN "curl -X GET -s -k --cacert /root/ca-cert.pem 'https://$$MN/xcatws/groups?userName=$username&userPW=$password' | sed 's/\"//g'" check:rc==0 check:output=~__GETTABLEVALUE(node,$$CN,groups,nodelist)__ end