[PATCH] msi/tests: Test the "VersionNT" property.

Zebediah Figura z.figura12 at gmail.com
Sun Nov 15 18:28:14 CST 2020


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/msi/tests/package.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index f8bf431883b..3b98d9ef111 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -5735,6 +5735,9 @@ static void test_installprops(void)
 
     GetNativeSystemInfo(&si);
 
+    sprintf(buf, "%d", LOBYTE(LOWORD(GetVersion())) * 100 + HIBYTE(LOWORD(GetVersion())));
+    check_prop(hpkg, "VersionNT", buf, 1);
+
     if (S(U(si)).wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64)
     {
         sprintf(buf, "%d", si.wProcessorLevel);
-- 
2.29.2




More information about the wine-devel mailing list