aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_start_SUITE.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-06-27 16:43:37 +0200
committerAnders Svensson <[email protected]>2011-06-27 16:43:37 +0200
commitbd6666300edb76e09c07508e3513f7bdde985b43 (patch)
tree1e735ae4a1ab2b63597f43ec342cefcd77513563 /lib/odbc/test/odbc_start_SUITE.erl
parent916e80959746c467ff858538e35f3c0105dbbced (diff)
parent1049243404cc52cad5ce1f1d2d37383a2ca06160 (diff)
downloadotp-bd6666300edb76e09c07508e3513f7bdde985b43.tar.gz
otp-bd6666300edb76e09c07508e3513f7bdde985b43.tar.bz2
otp-bd6666300edb76e09c07508e3513f7bdde985b43.zip
Merge remote branch 'upstream/dev' into dev
Diffstat (limited to 'lib/odbc/test/odbc_start_SUITE.erl')
-rw-r--r--lib/odbc/test/odbc_start_SUITE.erl10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/odbc/test/odbc_start_SUITE.erl b/lib/odbc/test/odbc_start_SUITE.erl
index 65b990133f..440c0ca921 100644
--- a/lib/odbc/test/odbc_start_SUITE.erl
+++ b/lib/odbc/test/odbc_start_SUITE.erl
@@ -125,14 +125,16 @@ start(doc) ->
start(suite) ->
[];
start(Config) when is_list(Config) ->
- {error,odbc_not_started} = odbc:connect(?RDBMS:connection_string(), []),
+ PlatformOptions = odbc_test_lib:platform_options(),
+ {error,odbc_not_started} = odbc:connect(?RDBMS:connection_string(),
+ PlatformOptions),
odbc:start(),
- case odbc:connect(?RDBMS:connection_string(), []) of
+ case odbc:connect(?RDBMS:connection_string(), PlatformOptions) of
{ok, Ref0} ->
ok = odbc:disconnect(Ref0),
odbc:stop(),
{error,odbc_not_started} =
- odbc:connect(?RDBMS:connection_string(), []),
+ odbc:connect(?RDBMS:connection_string(), PlatformOptions),
start_odbc(transient),
start_odbc(permanent);
{error, odbc_not_started} ->
@@ -144,7 +146,7 @@ start(Config) when is_list(Config) ->
start_odbc(Type) ->
ok = odbc:start(Type),
- case odbc:connect(?RDBMS:connection_string(), []) of
+ case odbc:connect(?RDBMS:connection_string(), odbc_test_lib:platform_options()) of
{ok, Ref} ->
ok = odbc:disconnect(Ref),
odbc:stop();