VirtualBox

Changeset 104774 in vbox for trunk/src


Ignore:
Timestamp:
May 24, 2024 12:58:53 PM (8 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Adjust tstClipboardGH-X11 to fixed LF -> CRLF conversion, bugref:10694.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/testcase/tstClipboardGH-X11.cpp

    r104693 r104774  
    499499                if (cbActual != cbExp)
    500500                {
    501                     RTTestFailed(hTest, "Returned string is the wrong size: got size %u, expected %u\n", cbActual, cbActual);
     501                    RTTestFailed(hTest, "Returned string is the wrong size: got size %u, expected %u\n", cbActual, cbExp);
    502502                }
    503503                else
     
    680680    tstClipSetSelectionValues("text/plain;charset=UTF-8", XA_STRING,
    681681                              "hello\r\nworld", sizeof("hello\r\nworld"), 8);
    682     tstStringFromX11(hTest, &X11Ctx, "hello\r\r\nworld", VINF_SUCCESS);
     682    tstStringFromX11(hTest, &X11Ctx, "hello\r\nworld", VINF_SUCCESS);
    683683    /* With an embedded LFCR */
    684684    tstClipSetSelectionValues("text/plain;charset=UTF-8", XA_STRING,
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