From 3e76699153d9fa4b1a3763d305331b09a019b2f4 Mon Sep 17 00:00:00 2001 From: Sam Hague Date: Wed, 27 Jun 2018 17:38:49 -0400 Subject: [PATCH 1/1] Add odltools library Depends-On: I6c41f3d46e6a287eecf9882b55e3f3fd8f94a8a5 JIRA: ODLTOOLS-10 Change-Id: I63e40332485193d1d3fb448a81097e65d0a3a589 Signed-off-by: Sam Hague --- csit/libraries/ODLTools.robot | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 csit/libraries/ODLTools.robot diff --git a/csit/libraries/ODLTools.robot b/csit/libraries/ODLTools.robot new file mode 100644 index 0000000000..dc07700acc --- /dev/null +++ b/csit/libraries/ODLTools.robot @@ -0,0 +1,11 @@ +*** Settings *** +Documentation Robot wrapper around ODLTools. + +*** Keywords *** +Version + [Documentation] Get the odltools version + ${cmd} = BuiltIn.Set Variable odltools -V + ${rc} ${output} = OperatingSystem.Run And Return Rc And Output ${cmd} + BuiltIn.Log rc: ${rc}, output: ${output} + BuiltIn.Should Be True '${rc}' == '0' + [Return] ${output} -- 2.36.6