File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ #coding:utf-8
2+
3+ """
4+ ID: issue-7976
5+ ISSUE: https://github.com/FirebirdSQL/firebird/issues/7976
6+ TITLE: False validation error for short unpacked records
7+ DESCRIPTION:
8+ NOTES:
9+ [25.01.2024] pzotov
10+ Confirmed bug on 5.0.1.1318, 6.0.0.223.
11+ Checked on 5.0.1.1324.
12+ """
13+
14+ import pytest
15+ from pathlib import Path
16+ from firebird .qa import *
17+
18+ init_sql = """
19+ create table tmp1(a1 integer);
20+ insert into tmp1 values (1000);
21+ commit;
22+ """
23+ db = db_factory (init = init_sql )
24+
25+ act = python_act ('db' )
26+
27+ @pytest .mark .version ('>=5.0.1' )
28+ def test_1 (act : Action , capsys ):
29+
30+ act .expected_stdout = ""
31+ act .gfix (switches = ['-v' , '-full' , str (act .db .dsn )])
32+ assert act .clean_stdout == act .clean_expected_stdout
You can’t perform that action at this time.
0 commit comments