Commit f2c85adb authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

setupapi: Remove bogus part of test.

parent a7c6a276
......@@ -190,7 +190,7 @@ static void testInstallClass(void)
'{','6','a','5','5','b','5','a','4','-','3','f','6','5','-',
'1','1','d','b','-','b','7','0','4','-',
'0','0','1','1','9','5','5','c','2','b','d','b','}',0};
char tmpfile[MAX_PATH], dstfile[MAX_PATH * 2];
char tmpfile[MAX_PATH];
BOOL ret;
if (!pSetupDiInstallClassA)
......@@ -219,10 +219,6 @@ static void testInstallClass(void)
ret = pSetupDiInstallClassA(NULL, tmpfile, 0, NULL);
ok(ret, "SetupDiInstallClassA failed: %08x\n", GetLastError());
RegDeleteKeyW(HKEY_LOCAL_MACHINE, classKey);
GetWindowsDirectoryA(dstfile, MAX_PATH);
lstrcatA(dstfile, "inf\\");
lstrcatA(dstfile, tmpfile + 2);
DeleteFile(dstfile);
DeleteFile(tmpfile);
}
......
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