mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-22 22:22:27 +00:00
Merge pull request #5375 from ThomasWaldmann/improve-self-test-msg-master
if self test fails, also point to OS and hardware, fixes #5334
This commit is contained in:
commit
7fb64dc75f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue