Skip to content

Commit c5b7f9f

Browse files
winesynclearn-more
authored andcommitted
[WINESYNC] msi/tests: Avoid calling MsiSetTargetPath("TARGETDIR").
Signed-off-by: Zebediah Figura <[email protected]> Signed-off-by: Hans Leidekker <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 30fe6f43612ce0a7d65ec16f751d3212cb78c1fe by Zebediah Figura <[email protected]>
1 parent df90c9b commit c5b7f9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/rostests/winetests/msi/custom.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -577,18 +577,18 @@ static void test_targetpath(MSIHANDLE hinst)
577577
r = MsiSetTargetPathA(hinst, NULL, "C:\\subdir");
578578
ok(hinst, r == ERROR_INVALID_PARAMETER, "got %u\n", r);
579579

580-
r = MsiSetTargetPathA(hinst, "TARGETDIR", NULL);
580+
r = MsiSetTargetPathA(hinst, "MSITESTDIR", NULL);
581581
ok(hinst, r == ERROR_INVALID_PARAMETER, "got %u\n", r);
582582

583-
r = MsiSetTargetPathA(hinst, "TARGETDIR", "C:\\subdir");
583+
r = MsiSetTargetPathA(hinst, "MSITESTDIR", "C:\\subdir");
584584
ok(hinst, !r, "got %u\n", r);
585585

586586
sz = sizeof(buffer);
587-
r = MsiGetTargetPathA(hinst, "TARGETDIR", buffer, &sz);
587+
r = MsiGetTargetPathA(hinst, "MSITESTDIR", buffer, &sz);
588588
ok(hinst, !r, "got %u\n", r);
589589
ok(hinst, !strcmp(buffer, "C:\\subdir\\"), "got \"%s\"\n", buffer);
590590

591-
r = MsiSetTargetPathA(hinst, "TARGETDIR", "C:\\");
591+
r = MsiSetTargetPathA(hinst, "MSITESTDIR", "C:\\");
592592

593593
/* test GetSourcePath() */
594594

0 commit comments

Comments
 (0)