VirtualBox

Ignore:
Timestamp:
Dec 12, 2017 5:53:44 PM (7 years ago)
Author:
vboxsync
Message:

Backed out r119634 + r119637 again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/testcase/tstGuestPropSvc.cpp

    r70086 r70090  
    120120        if (RT_SUCCESS(rc))
    121121        {
    122             rc = GuestPropWriteFlags(fFlags, pszFlagBuffer, GUEST_PROP_MAX_FLAGS_LEN);
     122            rc = GuestPropWriteFlags(fFlags, pszFlagBuffer);
    123123            if (RT_FAILURE(rc))
    124124                RTTestIFailed("Failed to convert flag string '%s' back to a string.",
     
    159159        RTTestISub("Rejection of an invalid flags field");
    160160        /* This is required to fail. */
    161         if (RT_SUCCESS(GuestPropWriteFlags(u32BadFlags, pszFlagBuffer, GUEST_PROP_MAX_FLAGS_LEN)))
     161        if (RT_SUCCESS(GuestPropWriteFlags(u32BadFlags, pszFlagBuffer)))
    162162        {
    163163            RTTestIFailed("Flags 0x%x were incorrectly written out as '%.*s'\n",
     
    828828    {
    829829        char szFlags[GUEST_PROP_MAX_FLAGS_LEN];
    830         if (RT_FAILURE(GuestPropWriteFlags(fFlags, szFlags, sizeof(szFlags))))
     830        if (RT_FAILURE(GuestPropWriteFlags(fFlags, szFlags)))
    831831            RTTestIFailed("Failed to set the global flags.");
    832832        else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette