odbccp32/test: Correct tests without privileges.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f9c80b087f
commit
cd50e1518f
|
@ -112,6 +112,11 @@ static void test_SQLInstallDriverManager(void)
|
||||||
/* Length OK */
|
/* Length OK */
|
||||||
bool_ret = SQLInstallDriverManager(target_path, MAX_PATH, NULL);
|
bool_ret = SQLInstallDriverManager(target_path, MAX_PATH, NULL);
|
||||||
sql_ret = SQLInstallerErrorW(1, &error_code, NULL, 0, NULL);
|
sql_ret = SQLInstallerErrorW(1, &error_code, NULL, 0, NULL);
|
||||||
|
if(!bool_ret && error_code == ODBC_ERROR_WRITING_SYSINFO_FAILED)
|
||||||
|
{
|
||||||
|
win_skip("not enough privileges\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
ok(bool_ret, "SQLInstallDriverManager unexpectedly failed: %d\n",
|
ok(bool_ret, "SQLInstallDriverManager unexpectedly failed: %d\n",
|
||||||
error_code);
|
error_code);
|
||||||
if (bool_ret)
|
if (bool_ret)
|
||||||
|
|
Loading…
Reference in New Issue