[testsuite] check stderr before stdout

That way you get to see error messages about wrong filenames instead of an
empty stdout
This commit is contained in:
Dan Čermák 2018-05-06 00:18:57 +02:00
parent 61dbba1396
commit 939ded283f

View File

@ -547,8 +547,8 @@ def test_run(self):
)
self.assertFalse(timeout["flag"], msg="Timeout reached")
self.compare_stdout(i, command, processed_stdout, stdout)
self.compare_stderr(i, command, processed_stderr, stderr)
self.compare_stdout(i, command, processed_stdout, stdout)
self.assertEqual(
retval, proc.returncode, msg="Return value does not match"
)