VirtualBox

儲存庫 vbox 的更動 98583


忽略:
時間撮記:
2023-2-15 下午12:44:55 (2 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
155869
訊息:

ValKit/txclient.py: Extended crc error message to include the whole payload. testset:20439172

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testdriver/txsclient.py

    r98103 r98583  
    875875                    oOut.uTxsClientCrc32 = zlib.crc32(abPayload[4:], oOut.uTxsClientCrc32);
    876876                    if uStreamCrc32 != (oOut.uTxsClientCrc32 & 0xffffffff):
    877                         sFailure = 'crc error - mine=%#x their=%#x (%s, %u bytes)' \
    878                             % (oOut.uTxsClientCrc32 & 0xffffffff, uStreamCrc32, sOpcode, cbMsg);
     877                        sFailure = 'crc error - mine=%#x their=%#x (%s, %u bytes: %s)' \
     878                            % (oOut.uTxsClientCrc32 & 0xffffffff, uStreamCrc32, sOpcode, cbMsg,
     879                               ' '.join(['%02x' % (b,) for b in abPayload]),);
    879880                        reporter.maybeErr(self.fErr, 'taskExecEx: %s' % (sFailure));
    880881                        rc = None;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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