mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated tests\bugs\gh_7976_test.py: Checked on 5.0.1.1324.
This commit is contained in:
parent
674b360dfb
commit
e49f253d13
32
tests/bugs/gh_7976_test.py
Normal file
32
tests/bugs/gh_7976_test.py
Normal file
@ -0,0 +1,32 @@
|
||||
#coding:utf-8
|
||||
|
||||
"""
|
||||
ID: issue-7976
|
||||
ISSUE: https://github.com/FirebirdSQL/firebird/issues/7976
|
||||
TITLE: False validation error for short unpacked records
|
||||
DESCRIPTION:
|
||||
NOTES:
|
||||
[25.01.2024] pzotov
|
||||
Confirmed bug on 5.0.1.1318, 6.0.0.223.
|
||||
Checked on 5.0.1.1324.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
from pathlib import Path
|
||||
from firebird.qa import *
|
||||
|
||||
init_sql = """
|
||||
create table tmp1(a1 integer);
|
||||
insert into tmp1 values (1000);
|
||||
commit;
|
||||
"""
|
||||
db = db_factory(init = init_sql)
|
||||
|
||||
act = python_act('db')
|
||||
|
||||
@pytest.mark.version('>=5.0.1')
|
||||
def test_1(act: Action, capsys):
|
||||
|
||||
act.expected_stdout = ""
|
||||
act.gfix(switches=['-v', '-full', str(act.db.dsn)])
|
||||
assert act.clean_stdout == act.clean_expected_stdout
|
Loading…
Reference in New Issue
Block a user