VirtualBox

Changeset 77550 in vbox


Ignore:
Timestamp:
Mar 4, 2019 10:17:54 AM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Use bytes() for comparing the buffers in testGuestCtrlFileWrite().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r77501 r77550  
    32343234                        if     fRc \
    32353235                           and curRes.aBuf is not None \
    3236                            and curRes.aBuf != aBufRead:
     3236                           and bytes(curRes.aBuf) != bytes(aBufRead):
    32373237                            reporter.error('Test #%d failed: Read back buffer (%d bytes) does not match ' \
    32383238                                           'written content (%d bytes)' % (i, len(aBufRead), len(aBufRead)));
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