6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00
firebird-qa/tests/bugs/core_5858_test.py

29 lines
486 B
Python

#coding:utf-8
"""
ID: issue-6118
ISSUE: 6118
TITLE: Command 'REVOKE ALL ON ALL FROM <anyname>' lead server to crash
DESCRIPTION:
JIRA: CORE-5858
FBTEST: bugs.core_5858
"""
import pytest
from firebird.qa import *
db = db_factory()
test_script = """
set wng off;
set bail on;
revoke all on all from any_name_here;
commit;
"""
act = isql_act('db', test_script)
@pytest.mark.version('>=4.0')
def test_1(act: Action):
act.execute()