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
Actions