mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:11:34 +00:00
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 */
|
||||
bool_ret = SQLInstallDriverManager(target_path, MAX_PATH, 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",
|
||||
error_code);
|
||||
if (bool_ret)
|
||||
|
|
Loading…
Reference in a new issue