VirtualBox

Ignore:
Timestamp:
Feb 22, 2019 1:07:43 PM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Logging.

File:
1 edited

Legend:

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

    r77413 r77429  
    4545# Standard Python imports.
    4646from array import array
     47import binascii
    4748import errno
    4849import os
     
    30913092                            reporter.error('Test #%d failed: Read back buffer (%d bytes) does not match ' \
    30923093                                           'written content (%d bytes)' % (i, len(curRes.aBuf), len(aBufRead)));
    3093                             reporter.error('Test #%d failed: Got:\n%s' % (i, aBufRead.encode('hex')));
    3094                             reporter.error('Test #%d failed: Expected:\n%s' % (i, curRes.aBuf.encode('hex')));
     3094                            reporter.error('Test #%d failed: Got:\n%s' % (i, binascii.hexlify(aBufRead)));
     3095                            reporter.error('Test #%d failed: Expected:\n%s' % (i, binascii.hexlify(curRes.aBuf)));
    30953096                            fRc = False;
    30963097                # Test final offset.
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