diff options
Diffstat (limited to 'test/src/lib')
| -rw-r--r-- | test/src/lib/test_repo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/lib/test_repo.py b/test/src/lib/test_repo.py index 1d07a4e..0356ad8 100644 --- a/test/src/lib/test_repo.py +++ b/test/src/lib/test_repo.py @@ -225,7 +225,8 @@ class TestRepoSegfault(TestRepo): return ec == -11 def run_output_matches(self, output): - return "Started the test program.\n" == output.decode() + output = output.decode() + return output.startswith("Started the test program.\n") and "You shouldn't see this." not in output def run_files_are_present(self, *args): return True |
