mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated bugs\gh_6785_test.py. Checked again on FB 4.x, 5.x. Problem can occur when FB log contains log of binary data (garbage)
This commit is contained in:
parent
2c4bd77394
commit
ad876585a5
@ -109,8 +109,16 @@ def test_1(act: Action, tmp_fbk: Path, tmp_fdb: Path, tmp_log: Path, capsys):
|
||||
with act.connect_server() as srv:
|
||||
|
||||
fblog_1 = act.get_firebird_log()
|
||||
#with act.connect_server(encoding=locale.getpreferredencoding()) as srv:
|
||||
# srv.info.get_log()
|
||||
# fblog_1 = srv.readlines()
|
||||
|
||||
srv.database.repair(database = str(tmp_fdb), flags=SrvRepairFlag.CORRUPTION_CHECK)
|
||||
|
||||
fblog_2 = act.get_firebird_log()
|
||||
#with act.connect_server(encoding=locale.getpreferredencoding()) as srv:
|
||||
# srv.info.get_log()
|
||||
# fblog_2 = srv.readlines()
|
||||
|
||||
p_diff = re.compile('Validation finished: \\d+ errors, \\d+ warnings, \\d+ fixed')
|
||||
validation_result = ''
|
||||
|
Loading…
Reference in New Issue
Block a user