Nicolas Le Cam : msi/tests: Fix package test when run on a different drive than C:\.
Module: wine Branch: master Commit: 8b348fca27c7e49062dd8a4af251f315e87123a3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8b348fca27c7e49062dd8a4af2... Author: Nicolas Le Cam <niko.lecam(a)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);
participants (1)
-
Alexandre Julliard