1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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:
Rémi Bernon 2024-01-10 11:23:30 +01:00 committed by Alexandre Julliard
parent 928d73d4ef
commit 866f17c147

View file

@ -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");