https://git.reactos.org/?p=reactos.git;a=commitdiff;h=331be6126305407bc958d4a1fb48022bd81cfe3c

commit 331be6126305407bc958d4a1fb48022bd81cfe3c
Author:     winesync <[email protected]>
AuthorDate: Sat Mar 12 23:22:10 2022 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Sun Mar 20 19:27:57 2022 +0100

    [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]>
---
 modules/rostests/winetests/msi/package.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/rostests/winetests/msi/package.c 
b/modules/rostests/winetests/msi/package.c
index ace9b354f91..d6d90ce39fb 100644
--- a/modules/rostests/winetests/msi/package.c
+++ b/modules/rostests/winetests/msi/package.c
@@ -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=\"\"");

Reply via email to