1
0
Fork 0
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:
TW 2020-10-02 02:04:41 +02:00 committed by GitHub
commit 7fb64dc75f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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