Nicolas Le Cam : msi/tests: Fix package test when run on a different drive than C:\.

Alexandre Julliard julliard at winehq.org
Thu Apr 23 11:27:24 CDT 2009


Module: wine
Branch: master
Commit: 8b348fca27c7e49062dd8a4af251f315e87123a3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8b348fca27c7e49062dd8a4af251f315e87123a3

Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date:   Tue Apr 21 02:38:23 2009 +0200

msi/tests: Fix package test when run on a different drive than C:\.

---

 dlls/msi/tests/package.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index 12127ee..ccc9208 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -8768,7 +8768,7 @@ static void test_appsearch_drlocator(void)
     ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop);
 
     size = MAX_PATH;
-    sprintf(path, "%s\\", CURR_DIR);
+    search_absolute_directory(path, CURR_DIR + 3);
     r = MsiGetPropertyA(hpkg, "SIGPROP3", prop, &size);
     ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
     ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop);




More information about the wine-cvs mailing list