*** Settings ***
Documentation               Verify openbmctool.py functionality.

Library                     ../lib/gen_print.py
Library                     ../lib/gen_robot_print.py
Library                     ../lib/openbmctool_utils.py

*** Variables ***

${min_num_sensors}  ${30}

*** Test Cases ***

Verify FRU Status
    [Documentation]  Verify that the fru status command works.
    [Tags]  Verify_FRU_Status

    Rprintn
    ${rc}  ${output}=  Openbmctool Execute Command  fru status | egrep -v '^$|^Component' | wc -l
    ${num_sensors}=  Convert to Integer  ${output}
    Rprint Vars  num_sensors
    Should Be True  ${num_sensors} >= ${min_num_sensors}
    ...  msg=There should be at least ${min_num_sensors} sensors.

*** Settings ***
Documentation     Verify openbmctool.py functionality.

Library           ../lib/gen_print.py
Library           ../lib/gen_robot_print.py
Library           ../lib/openbmctool_utils.py
Resource          ../lib/resource.txt

*** Variables ***

${min_num_sensors}  ${30}

*** Test Cases ***

Verify FRU Status
    [Documentation]  Verify that the fru status command works.
    [Tags]  Verify_FRU_Status

    Rprintn
    ${rc}  ${output}=  Openbmctool Execute Command  fru status | egrep -v '^$|^Component' | wc -l
    ${num_sensors}=  Convert to Integer  ${output}
    Rprint Vars  num_sensors
    Should Be True  ${num_sensors} >= ${min_num_sensors}
    ...  msg=There should be at least ${min_num_sensors} sensors.

Add resource file to the tests tool suite
Add resource file to the tests tool suite

Change-Id: Ic5e2d7cbcf43831eb07250a79e231605a5581775
Signed-off-by: George Keishing <bef0a9ecac45fb57611777c8270153994e13fd2e@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation