Hans Leidekker : msi: Test more variations of environment string prefixes.
Alexandre Julliard
julliard at winehq.org
Fri Nov 13 09:37:07 CST 2009
Module: wine
Branch: master
Commit: 84ddfd8739a378dd3a1081eeb606725d21b8b83f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84ddfd8739a378dd3a1081eeb606725d21b8b83f
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri Nov 13 12:00:49 2009 +0100
msi: Test more variations of environment string prefixes.
---
dlls/msi/tests/install.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 35bbc85..c6fd1ca 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -176,7 +176,11 @@ static const CHAR environment_dat[] = "Environment\tName\tValue\tComponent_\n"
"Var3\t=-MSITESTVAR3\t1\tOne\n"
"Var4\tMSITESTVAR4\t1\tOne\n"
"Var5\t-MSITESTVAR5\t\tOne\n"
- "Var6\tMSITESTVAR6\t\tOne\n";
+ "Var6\tMSITESTVAR6\t\tOne\n"
+ "Var7\t!-MSITESTVAR7\t\tOne\n"
+ "Var8\t!-*MSITESTVAR8\t\tOne\n"
+ "Var9\t=-MSITESTVAR9\t\tOne\n"
+ "Var10\t=MSITESTVAR10\t\tOne\n";
static const CHAR condition_dat[] = "Feature_\tLevel\tCondition\n"
"s38\ti2\tS255\n"
@@ -6618,6 +6622,18 @@ static void test_envvar(void)
res = RegDeleteValueA(env, "MSITESTVAR6");
ok(res == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", res);
+ res = RegDeleteValueA(env, "MSITESTVAR7");
+ ok(res == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", res);
+
+ res = RegDeleteValueA(env, "MSITESTVAR8");
+ ok(res == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", res);
+
+ res = RegDeleteValueA(env, "MSITESTVAR9");
+ ok(res == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", res);
+
+ res = RegDeleteValueA(env, "MSITESTVAR10");
+ ok(res == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", res);
+
RegCloseKey(env);
delete_pf("msitest\\cabout\\new\\five.txt", TRUE);
More information about the wine-cvs
mailing list