mirror of https://github.com/borgbackup/borg.git
if self test fails, also point to OS and hardware, fixes #5334
This commit is contained in:
parent
257628b7d8
commit
f41a264d77
|
@ -72,7 +72,7 @@ def selftest(logger):
|
||||||
successful_tests, SELFTEST_COUNT)
|
successful_tests, SELFTEST_COUNT)
|
||||||
if not result.wasSuccessful() or count_mismatch:
|
if not result.wasSuccessful() or count_mismatch:
|
||||||
logger.error("self test failed\n"
|
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)
|
sys.exit(2)
|
||||||
assert False, "sanity assertion failed: ran beyond sys.exit()"
|
assert False, "sanity assertion failed: ran beyond sys.exit()"
|
||||||
selftest_elapsed = time.perf_counter() - selftest_started
|
selftest_elapsed = time.perf_counter() - selftest_started
|
||||||
|
|
Loading…
Reference in New Issue