Commit 866f17c1 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

ntoskrnl.exe/tests: Use SUOI_FORCEDELETE when uninstalling the driver.

Avoids conflicts with the dinput tests somehow. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52962
parent 928d73d4
......@@ -1874,7 +1874,7 @@ static void test_pnp_driver(struct testsign_context *ctx)
GetFullPathNameA("winetest.inf", sizeof(path), path, NULL);
ret = SetupCopyOEMInfA(path, NULL, 0, 0, dest, sizeof(dest), NULL, &filepart);
ok(ret, "Failed to copy INF, error %#lx\n", GetLastError());
ret = SetupUninstallOEMInfA(filepart, 0, NULL);
ret = SetupUninstallOEMInfA(filepart, SUOI_FORCEDELETE, NULL);
ok(ret, "Failed to uninstall INF, error %lu\n", GetLastError());
ret = DeleteFileA("winetest.cat");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment