From 939ded283f6238ce961736faa0a7f8367ffe4719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Sun, 6 May 2018 00:18:57 +0200 Subject: [PATCH] [testsuite] check stderr before stdout That way you get to see error messages about wrong filenames instead of an empty stdout --- tests/system_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system_tests.py b/tests/system_tests.py index e4d10c5b..644f6093 100644 --- a/tests/system_tests.py +++ b/tests/system_tests.py @@ -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" )