*** Settings ***
Documentation   This suite is for disable field mode if enabled.

Resource        ../lib/code_update_utils.robot


*** Test Cases ***

Verify Field Mode Is Disable
    [Documentation]  Disable software manager field mode.

    Disable Field Mode And Verify Unmount

*** Settings ***
Documentation   This suite is for disable field mode if enabled.

Resource        ../lib/code_update_utils.robot
Resource        ../lib/openbmc_ffdc.robot

Test Teardown   FFDC On Test Case Fail

*** Test Cases ***

Verify Field Mode Is Disable
    [Documentation]  Disable software manager field mode.

    # Field mode is enabled before running CT.
    # It is to ensure that the setting is not changed during CT
    Field Mode Should Be Enabled
    Disable Field Mode And Verify Unmount

Add field mode check and log collection on failure
Add field mode check and log collection on failure

Added:
    - Check for field mode before clearing it.
    - FFDC on failure.

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

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