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
This commit is contained in:
parent
928d73d4ef
commit
866f17c147
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue