Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests wrongly return empty stdout depending on the format of test_script [QA664] #662

Open
firebird-automations opened this issue Jul 24, 2018 · 0 comments

Comments

@firebird-automations
Copy link

Submitted by: @asfernandes

I have problem with many tests, that returns empty stdout.

For example:

======================================================================
FAIL: bugs.core_1171
----------------------------------------------------------------------
Expected standard output from ISQL does not match actual output.

----------------------------------------------------------------------
Ran 1 tests in 0.494s

FAILED (fails=1)

ISQL_stdout_actual is empty.

To make it work, I need to change test from:

'test_script': "select cast ('-2.488355210669293e+39' as double
precision) from rdb$database;",

to:

'test_script':
"""
select cast ('-2.488355210669293e+39' as double precision) from
rdb$database;
""",

Test is run in a docker container with Ubuntu Bionic, connected to Firebird in the host also with Ubuntu Bionic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant