VirtualBox

Changeset 70504 in vbox


Ignore:
Timestamp:
Jan 10, 2018 10:54:38 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120127
Message:

testdriver/vbox.py: Changed txsCdWait to look for valkit.txt. This should cause trouble wrt namespace morphing by the ISO maker.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r70490 r70504  
    32793279                  oTxsSession,          # type: txsclient.Session
    32803280                  cMsTimeout = 30000,   # type: int
    3281                   asFiles = None        # type: list(String)
     3281                  sFile = None          # type: String
    32823282                  ):                    # -> bool
    32833283        """
     
    32913291        """
    32923292
    3293         if asFiles is None:
    3294             asFiles = [ 'vboxtxs-readme.txt', 'vboxtxsreadme.txt' ];
     3293        if sFile is None:
     3294            sFile = 'valkit.txt';
    32953295        fRemoveVm   = self.addTask(oSession);
    32963296        fRemoveTxs  = self.addTask(oTxsSession);
     
    32983298        msStart     = base.timestampMilli();
    32993299        cMsTimeout2 = cMsTimeout;
    3300         iFile       = 0;
    3301         fRc         = oTxsSession.asyncIsFile('${CDROM}/%s' % (asFiles[iFile],), cMsTimeout2);
     3300        fRc         = oTxsSession.asyncIsFile('${CDROM}/%s' % (sFile,), cMsTimeout2);
    33023301        if fRc is True:
    33033302            while True:
     
    33323331                if cMsTimeout2 < 500:
    33333332                    cMsTimeout2 = 500;
    3334                 iFile = (iFile + 1) % len(asFiles);
    3335                 fRc = oTxsSession.asyncIsFile('${CDROM}/%s' % (asFiles[iFile]), cMsTimeout2);
     3333                fRc = oTxsSession.asyncIsFile('${CDROM}/%s' % (sFile,), cMsTimeout2);
    33363334                if fRc is not True:
    33373335                    reporter.error('txsCdWait: asyncIsFile failed');
Note: See TracChangeset for help on using the changeset viewer.

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