Remote logging test suite updates
Changes:
- Added "Test Setup Execution" keyword.
- Added "Remote Logging Server Not Configured" keywords.
- Move "Get Service Attribute" keywords to lib/utils.robot.
- Minor changes TODO.
Change-Id: I457bb8bca694913294ad277467dd92af783928e2
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 2586e6b..53072d5 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -1547,3 +1547,14 @@
... Should Be Empty ${journal_log}
... ELSE
... Should Not Be Empty ${journal_log}
+
+
+Get Service Attribute
+ [Documentation] Get service attribute policy output.
+ [Arguments] ${option} ${servicename}
+ # option systemctl supported options
+ # servicename Qualified service name
+ ${cmd}= Set Variable
+ ... systemctl -p ${option} show ${servicename} | cut -d = -f2
+ ${attr} ${stderr} ${rc}= BMC Execute Command ${cmd}
+ [Return] ${attr}