diff options
author | Marcus Arendt <[email protected]> | 2014-11-26 11:01:58 +0100 |
---|---|---|
committer | Marcus Arendt <[email protected]> | 2014-11-26 11:01:58 +0100 |
commit | 6d6048d997e60fcfa6a0e07d010cbf605738ad40 (patch) | |
tree | d8fb5c3eb5c165f8c08ee9337ee7610a53fdc695 /lib/odbc/test/odbc_start_SUITE.erl | |
parent | 89858cf060df65d966892ee50983274d6297cea8 (diff) | |
parent | 2eac7d839b601d1f043aa711f2a18ecfbd83048d (diff) | |
download | otp-6d6048d997e60fcfa6a0e07d010cbf605738ad40.tar.gz otp-6d6048d997e60fcfa6a0e07d010cbf605738ad40.tar.bz2 otp-6d6048d997e60fcfa6a0e07d010cbf605738ad40.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/odbc/test/odbc_start_SUITE.erl')
-rw-r--r-- | lib/odbc/test/odbc_start_SUITE.erl | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/odbc/test/odbc_start_SUITE.erl b/lib/odbc/test/odbc_start_SUITE.erl index a7bb1d0ffe..d75e615ed4 100644 --- a/lib/odbc/test/odbc_start_SUITE.erl +++ b/lib/odbc/test/odbc_start_SUITE.erl @@ -109,8 +109,8 @@ suite() -> [{ct_hooks,[ts_install_cth]}]. all() -> case odbc_test_lib:odbc_check() of - ok -> [app, appup, start]; - Other -> [app, appup] + ok -> [app, appup, start, long_connection_line]; + _Other -> [app, appup] end. groups() -> @@ -168,3 +168,14 @@ start_odbc(Type) -> {error, odbc_not_started} -> test_server:fail(start_failed) end. + + +long_connection_line(doc)-> + ["Test a connection line longer than 127 characters"]; +long_connection_line(suite) -> []; +long_connection_line(_Config) -> + odbc:start(), + String133 = "unknown_odbc_parameter=01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", + {error, Reason} = odbc:connect(String133, []), + odbc:stop(), + ct:pal("Driver error reason: ~p",[Reason]). |