if self test fails, also point to OS and hardware, fixes #5334

This commit is contained in:
Thomas Waldmann 2020-10-01 20:50:38 +02:00
parent 257628b7d8
commit f41a264d77
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ def selftest(logger):
successful_tests, SELFTEST_COUNT)
if not result.wasSuccessful() or count_mismatch:
logger.error("self test failed\n"
"This is a bug either in Borg or in the package / distribution you use.")
"Could be a bug either in Borg, the package / distribution you use, your OS or your hardware.")
sys.exit(2)
assert False, "sanity assertion failed: ran beyond sys.exit()"
selftest_elapsed = time.perf_counter() - selftest_started