Actions
action #54347
closed[tools] Wrong message on serial missmatch
Start date:
2019-07-17
Due date:
% Done:
0%
Estimated time:
Description
This line of code in https://openqa.opensuse.org/tests/984585/modules/ntp/steps/1/src
validate_script_output 'date', sub { not m/2018/ };
... creates the following error text when not matching:
wait_serial expected: Tue Jul 3 10:45:58 EDT 2018¶
Result:¶
Tue Jul 3 10:45:58 EDT 2018
The error msg suggests that "Tue Jul 3 10:45:58 EDT 2018" was the expected text even though the actual regex was not m/2018/
.
Related test: https://openqa.opensuse.org/tests/984585/modules/ntp/steps/31
Updated by okurz over 5 years ago
- Related to action #54548: Use of `record_serialresult` in `validate_script_output` is very confusing added
Updated by okurz over 5 years ago
- Status changed from New to Blocked
- Assignee set to okurz
#54548 first
Updated by okurz over 5 years ago
- Status changed from Blocked to Resolved
This should now be covered by https://github.com/os-autoinst/os-autoinst/pull/1199 as well
Actions