Project

General

Profile

action #28988

Updated by Anonymous over 6 years ago

## description 
 As observed from a test module zypper_lr_validation for SLE15 that although there were errors in the result from the command, the test module didn't register or show as failed. This may lead to the fact that we overlook serious issues. And the reason why it happened was that the command `run_scripted_command_slow($cmd, slow_type => 2);` didn't throw exception as one had expected, since it only calls `type_string_very_slow` and `wait_serial` but not `assert_script_run`.  

 ## acceptance criteria 
 * **AC1:** Modify (or drop) run_scripted_command_slow function so that a test module dies if the command didn't return zero. 

 ## tasks 
 * Modify or drop run_scripted_command_slow function 
 * Make sure the modules that called run_scripted_command_slow function still work afterwards

Back