Module: wine Branch: master Commit: f2c85adbc3043e10a0382b9065a388eb2ea6b424 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f2c85adbc3043e10a0382b9065...
Author: Juan Lang juan.lang@gmail.com Date: Fri Oct 12 08:23:43 2007 -0700
setupapi: Remove bogus part of test.
---
dlls/setupapi/tests/devinst.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c index a27fa5b..f1f44af 100644 --- a/dlls/setupapi/tests/devinst.c +++ b/dlls/setupapi/tests/devinst.c @@ -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); }