[Bug 52993] New: msi:action - test_publish() fails on date change

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 13 02:46:49 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52993

            Bug ID: 52993
           Summary: msi:action - test_publish() fails on date change
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: msi
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

msi:action - test_publish() fails on date change:

action.c:4219: Test failed: got "20220513"

https://test.winehq.org/data/patterns.html#msi:action

The issue is that when test_publish() started it was slightly before midnight
but when it checked the date in the registry is was slightly after midnight:

3708     get_date_str(date);                         // now it's 20220512
...
4186     /* complete install */
4187     r = MsiInstallProductA(msifile, "FULL=1");  // now it's 20220513
...
4219     CHECK_REG_STR(prodkey, "InstallDate", date);// --> failure

The registry date should be equal to either the date before the installation
started, or the date after the installation started.

The test was added in this commit:

commit 8db3c0e358c54e0ebc3f7b4b7461296d046029e9
Author:     Hans Leidekker <hans at codeweavers.com>
AuthorDate: Thu Oct 14 11:06:13 2010 +0200

    msi/tests: Move test coverage for standard actions to a separate module.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list