Changeset 70509 in vbox for trunk/src/VBox
- Timestamp:
- Jan 10, 2018 11:23:52 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120133
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/Config.kmk
r70403 r70509 109 109 110 110 TEMPLATE_VBoxValidationKitR3_USES += vboximportchecker 111 TEMPLATE_VBoxValidationKitR3_VBOX_IMPORT_CHECKER.win.x86 = nt350 111 TEMPLATE_VBoxValidationKitR3_VBOX_IMPORT_CHECKER = nt31$(error fuck) 112 TEMPLATE_VBoxValidationKitR3_VBOX_IMPORT_CHECKER.x86 = nt31$(error fuck) 113 TEMPLATE_VBoxValidationKitR3_VBOX_IMPORT_CHECKER.win.x86 = nt31$(error fuck) 112 114 TEMPLATE_VBoxValidationKitR3_VBOX_IMPORT_CHECKER.win.amd64 = xp64 113 115 -
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r70391 r70509 539 539 else: 540 540 oGstCtrlSession.environmentSet(self.sVar, self.sValue); 541 except vbox.ComException ,oXcpt:541 except vbox.ComException as oXcpt: 542 542 # Is this an expected failure? 543 543 if vbox.ComError.equal(oXcpt, self.hrcExpected): … … 580 580 else: 581 581 oGstCtrlSession.environmentUnset(self.sVar); 582 except vbox.ComException ,oXcpt:582 except vbox.ComException as oXcpt: 583 583 # Is this an expected failure? 584 584 if vbox.ComError.equal(oXcpt, self.hrcExpected): … … 621 621 else: 622 622 oTstDrv.oVBoxMgr.setArray(oGstCtrlSession, 'environment', self.asEnv); 623 except vbox.ComException ,oXcpt:623 except vbox.ComException as oXcpt: 624 624 # Is this an expected failure? 625 625 if vbox.ComError.equal(oXcpt, self.hrcExpected): … … 726 726 else: 727 727 oFsInfo = oGstCtrlSession.fileQueryInfo(self.sPath); 728 except vbox.ComException ,oXcpt:728 except vbox.ComException as oXcpt: 729 729 ## @todo: The error reporting in the API just plain sucks! Most of the errors are 730 730 ## VBOX_E_IPRT_ERROR and there seems to be no way to distinguish between … … 1208 1208 % (sSubDir, oFsObjInfo.name, oFsObjInfo.type)); 1209 1209 fRc = False; 1210 except Exception ,oXcpt:1210 except Exception as oXcpt: 1211 1211 # No necessarily an error -- could be VBOX_E_OBJECT_NOT_FOUND. See reference. 1212 1212 if vbox.ComError.equal(oXcpt, vbox.ComError.VBOX_E_OBJECT_NOT_FOUND): … … 1359 1359 (sCurDir, oFsObjInfo.name, oFsObjInfo.type)); 1360 1360 fRc = False; 1361 except Exception ,oXcpt:1361 except Exception as oXcpt: 1362 1362 # No necessarily an error -- could be VBOX_E_OBJECT_NOT_FOUND. See reference. 1363 1363 if vbox.ComError.equal(oXcpt, vbox.ComError.VBOX_E_OBJECT_NOT_FOUND): -
trunk/src/VBox/ValidationKit/tests/teleportation/tdTeleportLocal1.py
r69111 r70509 764 764 try: 765 765 oSession.o.machine.teleporterPort = uPort; 766 except Exception ,oXcpt:766 except Exception as oXcpt: 767 767 if not fInvalid or vbox.ComError.notEqual(oXcpt, vbox.ComError.E_INVALIDARG): 768 768 return reporter.testFailureXcpt('machine.teleporterPort=%u' % (uPort,)); … … 875 875 try: 876 876 oProgress = oSession.o.console.teleport(sHostname, uPort, sPassword, cMsMaxDowntime); 877 except vbox.ComException ,oXcpt:877 except vbox.ComException as oXcpt: 878 878 if vbox.ComError.equal(oXcpt, hrcExpected): 879 879 fRc = True; … … 882 882 % (vbox.ComError.toString(oXcpt.hresult), 883 883 vbox.ComError.toString(hrcExpected))); 884 except Exception ,oXcpt:884 except Exception as oXcpt: 885 885 reporter.testFailure('Unexpected exception %s' % (oXcpt)); 886 886 else: -
trunk/src/VBox/ValidationKit/tests/usb/usbgadget.py
r69111 r70509 1063 1063 oSocket.connect((self.sHostname, self.uPort)); 1064 1064 rc = True; 1065 except socket.error ,e:1065 except socket.error as e: 1066 1066 iRc = e[0]; 1067 1067 if self.__isInProgressXcpt(e): … … 1074 1074 iRc = oSocket.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR); 1075 1075 rc = iRc == 0; 1076 except socket.error ,e:1076 except socket.error as e: 1077 1077 iRc = e[0]; 1078 1078 except: … … 1191 1191 if cbSent == len(abBuf): 1192 1192 return True; 1193 except Exception ,oXcpt:1193 except Exception as oXcpt: 1194 1194 if not self.__isWouldBlockXcpt(oXcpt): 1195 1195 reporter.errorXcpt('TranportTcp.sendBytes: %s bytes' % (len(abBuf))); … … 1223 1223 if cbSent == len(abBuf): 1224 1224 return True; 1225 except Exception ,oXcpt:1225 except Exception as oXcpt: 1226 1226 if not self.__isWouldBlockXcpt(oXcpt): 1227 1227 reporter.errorXcpt('TranportTcp.sendBytes: %s bytes' % (len(abBuf))); … … 1248 1248 if abBuf: 1249 1249 self.abReadAhead.extend(array.array('B', abBuf)); 1250 except Exception ,oXcpt:1250 except Exception as oXcpt: 1251 1251 if not self.__isWouldBlockXcpt(oXcpt): 1252 1252 reporter.errorXcpt('TranportTcp.recvBytes: 0/%s bytes' % (cb,)); … … 1291 1291 self.abReadAhead.extend(array.array('B', abBuf)); 1292 1292 1293 except Exception ,oXcpt:1293 except Exception as oXcpt: 1294 1294 reporter.log('recv => exception %s' % (oXcpt,)); 1295 1295 if not self.__isWouldBlockXcpt(oXcpt): -
trunk/src/VBox/ValidationKit/utils/TestExecServ/Makefile.kmk
r69111 r70509 37 37 TestExecService.cpp \ 38 38 TestExecServiceTcp.cpp 39 TestExecService_VBOX_IMPORT_CHECKER.win.x86 = nt31 $(warning fix VBOX_IMPORT_CHECKER.win.x86 template bugbug!) 39 40 40 41 INSTALLS += TestExecServiceFiles … … 65 66 include $(FILE_KBUILD_SUB_FOOTER) 66 67 68 #%fffffe800000600c 0f 20 dc mov esp, cr3 69 #%fffffe800000600f 0f 1f 44 00 00 db 00fh, 01fh,044h,090h,090h 70 #%fffffe8000006014 48 81 e4 ff e7 ff ff and rsp, 0ffffffffffffe7ffh 71 #%fffffe800000601b 0f 22 dc mov cr3, esp 72
Note:
See TracChangeset
for help on using the changeset viewer.