Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
84ddfd87
Commit
84ddfd87
authored
Nov 13, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Test more variations of environment string prefixes.
parent
e52531ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
install.c
dlls/msi/tests/install.c
+17
-1
No files found.
dlls/msi/tests/install.c
View file @
84ddfd87
...
...
@@ -176,7 +176,11 @@ static const CHAR environment_dat[] = "Environment\tName\tValue\tComponent_\n"
"Var3
\t
=-MSITESTVAR3
\t
1
\t
One
\n
"
"Var4
\t
MSITESTVAR4
\t
1
\t
One
\n
"
"Var5
\t
-MSITESTVAR5
\t\t
One
\n
"
"Var6
\t
MSITESTVAR6
\t\t
One
\n
"
;
"Var6
\t
MSITESTVAR6
\t\t
One
\n
"
"Var7
\t
!-MSITESTVAR7
\t\t
One
\n
"
"Var8
\t
!-*MSITESTVAR8
\t\t
One
\n
"
"Var9
\t
=-MSITESTVAR9
\t\t
One
\n
"
"Var10
\t
=MSITESTVAR10
\t\t
One
\n
"
;
static
const
CHAR
condition_dat
[]
=
"Feature_
\t
Level
\t
Condition
\n
"
"s38
\t
i2
\t
S255
\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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment