dc07700accbdf278848e4c4a2b67ba146d10434d
[integration/test.git] / csit / libraries / ODLTools.robot
1 *** Settings ***
2 Documentation     Robot wrapper around ODLTools.
3
4 *** Keywords ***
5 Version
6     [Documentation]    Get the odltools version
7     ${cmd} =    BuiltIn.Set Variable    odltools -V
8     ${rc}    ${output} =    OperatingSystem.Run And Return Rc And Output    ${cmd}
9     BuiltIn.Log    rc: ${rc}, output: ${output}
10     BuiltIn.Should Be True    '${rc}' == '0'
11     [Return]    ${output}