Output check: also support checking against 'output.expected'
Avocado recently introduced the support to record the combined
output generated by a test. Now, this introduces support for
checking against a previously record combined output.
If an 'output.expected' file exists, it'll take precedence
over the `stdout.expected` and `stderr.expected` files.
Also it's necessary to switch the default operation mode for
the `avocado.utils.process` functions, since to compare with
an `output.expected` file, the record mode for the currently
running test has to be the same.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录