summaryrefslogtreecommitdiff
path: root/test-cli/test_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test_main.py')
-rw-r--r--test-cli/test_main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test_main.py b/test-cli/test_main.py
index 37207cc..ddd62aa 100644
--- a/test-cli/test_main.py
+++ b/test-cli/test_main.py
@@ -142,9 +142,9 @@ def main():
resulteeprom = 0
if "eeprompath" in varlist and len(varlist["eeprompath"]) > 0:
mac0 = psdbObj.get_board_macaddr(globalVar.g_uuid)
- resulteeprom = flash_eeprom(varlist["eeprompath"], globalVar.g_uuid, mac0)
+ resulteeprom, eepromdata = flash_eeprom(varlist["eeprompath"], globalVar.g_uuid, mac0)
psdbObj.create_task_result(globalVar.taskid_ctl, "FLASHEEPROM",
- "TASK_OK" if resulteeprom == 0 else "TASK_FAIL", varlist["eeprompath"])
+ "TASK_OK" if resulteeprom == 0 else "TASK_FAIL", eepromdata)
# flash non-volatile memory
resultmemory = 0