[ODBCCP32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 4 Mar 2016 09:39:35 +0000 (09:39 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 4 Mar 2016 09:39:35 +0000 (09:39 +0000)
svn path=/trunk/; revision=70908

rostests/winetests/odbccp32/misc.c

index b3c5404..505ce1b 100644 (file)
@@ -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);
     /* 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)
     ok(bool_ret, "SQLInstallDriverManager unexpectedly failed: %d\n",
         error_code);
     if (bool_ret)