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

This commit is contained in:
Nicolas Le Cam 2009-04-21 02:38:23 +02:00 committed by Alexandre Julliard
parent b91fc465ff
commit 8b348fca27

View File

@ -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);