George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation This suite is for disable field mode if enabled. |
| 3 | |
| 4 | Resource ../lib/code_update_utils.robot |
George Keishing | 97db708 | 2017-12-08 01:31:30 -0600 | [diff] [blame] | 5 | Resource ../lib/openbmc_ffdc.robot |
George Keishing | 91843f9 | 2018-03-26 12:49:36 -0500 | [diff] [blame] | 6 | Resource ../lib/dump_utils.robot |
George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 7 | |
George Keishing | 97db708 | 2017-12-08 01:31:30 -0600 | [diff] [blame] | 8 | Test Teardown FFDC On Test Case Fail |
George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 9 | |
| 10 | *** Test Cases *** |
| 11 | |
| 12 | Verify Field Mode Is Disable |
| 13 | [Documentation] Disable software manager field mode. |
| 14 | |
George Keishing | 97db708 | 2017-12-08 01:31:30 -0600 | [diff] [blame] | 15 | # Field mode is enabled before running CT. |
| 16 | # It is to ensure that the setting is not changed during CT |
| 17 | Field Mode Should Be Enabled |
George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 18 | Disable Field Mode And Verify Unmount |
George Keishing | 91843f9 | 2018-03-26 12:49:36 -0500 | [diff] [blame] | 19 | |
| 20 | |
| 21 | Verify No BMC Dump |
| 22 | [Documentation] Verify no BMC dump exist. |
| 23 | [Tags] Verify_No_BMC_Dump |
| 24 | |
| 25 | ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}/list |
| 26 | Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND} |
| 27 | ... msg=BMC dump(s) were not deleted as expected. |