Lines Matching refs:ret_code
406 ret_code = ubman.run_command('echo $?')
408 assert ret_code.endswith(str(exp_ret))
410 return output, ret_code
473 output, ret_code = flash_ops(ubman, 'erase', prot_start, prot_size, 0, -1)
474 if not any(error in output for error in EXPECTED_ERASE_ERRORS) or ret_code.endswith(
479 output, ret_code = flash_ops(
482 if not any(error in output for error in EXPECTED_WRITE_ERRORS) or ret_code.endswith(
497 output, ret_code = flash_ops(
500 if not any(error in output for error in EXPECTED_ERASE_ERRORS) or ret_code.endswith(
505 output, ret_code = flash_ops(
508 if not any(error in output for error in EXPECTED_WRITE_ERRORS) or ret_code.endswith(
526 output, ret_code = flash_ops(
529 if EXPECTED_ERASE not in output or ret_code.endswith('1'):
532 output, ret_code = flash_ops(
535 if EXPECTED_WRITE not in output or ret_code.endswith('1'):