Skip to content

Test suite: capture needed-package-updates's output by on failure

anonym requested to merge capture-needed-package-updates-output into stable

The output (i.e. what the problem is) will be included in the exception's message so it actually ends up in the test suite logs. The previously used fatal_system() doesn't capture the output at all, and cucumber only catches stdout while stderr is passed through so it's written to the terminal and thus doesn't end up in the test suite logs at all.

Follow-up on #14728 (closed), !1155 (merged).

Merge request reports