mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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 <[email protected]> Signed-off-by: Hans Leidekker <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 7837ae20cdeabab661da7bb5dae24f5ffefe17ee by Piotr Caban <[email protected]>
This commit is contained in:
@@ -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=\"\"");
|
||||
|
||||
Reference in New Issue
Block a user