VirtualBox

Changeset 84118 in vbox


Ignore:
Timestamp:
Apr 30, 2020 5:34:54 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137708
Message:

Validation Kit/testdriver: More debug logging for txsCdWait() for smoketest issues; follow-up to r137697.

File:
1 edited

Legend:

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

    r84112 r84118  
    35623562
    35633563        if not fRc:
     3564            # Do some diagnosis to find out why this failed.
    35643565            ## @todo Identify guest OS type and only run one of the following commands.
    35653566            reporter.log('txsCdWait: Listing root contents of ${CDROM}:');
    35663567            oTxsSession.syncExec("/bin/ls", ("/bin/ls", "-al", "${CDROM}"), fIgnoreErrors = True);
    35673568            # ASSUMES that we always install Windows on drive C right now.
    3568             oTxsSession.syncExec("C:\\Windows\\System32\\cmd.exe",
    3569                                  ("C:\\Windows\\System32\\cmd.exe", "/C", "dir", "${CDROM}"),
     3569            sWinDir = "C:\\Windows\\System32\\";
     3570            oTxsSession.syncExec(sWinDir + " cmd.exe",
     3571                                 (sWinDir + "cmd.exe", "/C", "dir", "${CDROM}"),
    35703572                                 fIgnoreErrors = True);
    35713573            oTxsSession.syncExec("C:\\WINNT\\System32\\cmd.exe",
    35723574                                 ("C:\\WINNT\\System32\\cmd.exe", "/C", "dir", "${CDROM}"),
     3575                                 fIgnoreErrors = True);
     3576
     3577            reporter.log('txsCdWait: Listing mount points / drives:');
     3578            oTxsSession.syncExec("/bin/mount", ("/bin/mount"), fIgnoreErrors = True);
     3579            # Should work since WinXP Pro.
     3580            oTxsSession.syncExec(sWinDir + "wbem\\WMIC.exe",
     3581                                 (sWinDir + "wbem\\WMIC.exe", "logicaldisk", "get",
     3582                                  "deviceid, volumename, description"),
    35733583                                 fIgnoreErrors = True);
    35743584
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