diff options
author | Marcus Arendt <[email protected]> | 2014-11-24 10:22:15 +0100 |
---|---|---|
committer | Marcus Arendt <[email protected]> | 2014-11-24 10:22:15 +0100 |
commit | 87d52a6a66ae9c8a0c7ea814360ee39f728eeaf7 (patch) | |
tree | 4fa5840fb4f4a6568aa9d4f04fa9a2dc31202c28 /lib/odbc | |
parent | ba8f70f0e9279e84350be840529c5e9b66f7f55b (diff) | |
download | otp-87d52a6a66ae9c8a0c7ea814360ee39f728eeaf7.tar.gz otp-87d52a6a66ae9c8a0c7ea814360ee39f728eeaf7.tar.bz2 otp-87d52a6a66ae9c8a0c7ea814360ee39f728eeaf7.zip |
add odbc:start/stop in testcase
Diffstat (limited to 'lib/odbc')
-rw-r--r-- | lib/odbc/test/odbc_start_SUITE.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/odbc/test/odbc_start_SUITE.erl b/lib/odbc/test/odbc_start_SUITE.erl index 51ef76da09..d75e615ed4 100644 --- a/lib/odbc/test/odbc_start_SUITE.erl +++ b/lib/odbc/test/odbc_start_SUITE.erl @@ -174,5 +174,8 @@ 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,"[unixODBC][Driver Manager]Data source name" ++ _} = odbc:connect(String133, []). + {error, Reason} = odbc:connect(String133, []), + odbc:stop(), + ct:pal("Driver error reason: ~p",[Reason]). |