mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
[WINESYNC] msi: Fix condition evaluation when comparing literal and integer.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45445 Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 7837ae20cdeabab661da7bb5dae24f5ffefe17ee by Piotr Caban <piotr@codeweavers.com>
This commit is contained in:
parent
82decec5f1
commit
331be61263
1 changed files with 4 additions and 0 deletions
|
@ -2097,6 +2097,10 @@ static void test_condition(void)
|
|||
ok( r == MSICONDITION_FALSE, "wrong return val (%d)\n", r);
|
||||
r = MsiEvaluateConditionA(hpkg, "&nofeature=\"\"");
|
||||
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
|
||||
r = MsiEvaluateConditionA(hpkg, "&nofeature<>3");
|
||||
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
|
||||
r = MsiEvaluateConditionA(hpkg, "\"\"<>3");
|
||||
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
|
||||
r = MsiEvaluateConditionA(hpkg, "!nofeature=\"\"");
|
||||
ok( r == MSICONDITION_TRUE, "wrong return val (%d)\n", r);
|
||||
MsiEvaluateConditionA(hpkg, "$nocomponent=\"\"");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue