VirtualBox

Ignore:
Timestamp:
Jun 29, 2015 8:03:30 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101326
Message:

oops; backing out r100056

File:
1 edited

Legend:

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

    r56682 r56684  
    28912891                break;
    28922892            try:
    2893                 if curTest.cbOffset > 0: # The offset parameter is gone.
     2893                if curTest.cbOffset > 0:
    28942894                    if self.oTstDrv.fpApiVer >= 5.0:
    28952895                        curFile = curGuestSession.fileOpenEx(curTest.sFile, curTest.getAccessMode(), curTest.getOpenAction(),
    2896                                                              curTest.getSharingMode(), curTest.lCreationMode, []);
    2897                         curFile.seek(curTest.cbOffset, vboxcon.FileSeekOrigin_Begin);
     2896                                                             curTest.getSharingMode(), curTest.lCreationMode, curTest.cbOffset);
    28982897                    else:
    28992898                        curFile = curGuestSession.fileOpenEx(curTest.sFile, curTest.sOpenMode, curTest.sDisposition, \
     
    30053004                break;
    30063005            try:
    3007                 if curTest.cbOffset > 0: # The offset parameter is gone.
     3006                if curTest.cbOffset > 0:
    30083007                    if self.oTstDrv.fpApiVer >= 5.0:
    30093008                        curFile = curGuestSession.fileOpenEx(curTest.sFile, curTest.getAccessMode(), curTest.getOpenAction(),
    3010                                                              curTest.getSharingMode(), []);
    3011                         curFile.seek(curTest.cbOffset, vboxcon.FileSeekOrigin_Begin);
     3009                                                             curTest.getSharingMode(), curTest.cbOffset);
    30123010                    else:
    30133011                        curFile = curGuestSession.fileOpenEx(curTest.sFile, curTest.sOpenMode, curTest.sDisposition, \
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