VirtualBox

Ignore:
Timestamp:
Jul 1, 2016 5:59:44 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108435
Message:

common/utils.py,testboxscript_real.py: List the content of the scratch directory after wiping it so that we can see which files remain in bad-testbox cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/testboxscript_real.py

    r61829 r61988  
    718718                    fnLog('Error deleting "%s": %s' % (sFullName, oXcpt));
    719719                    oRc.fRc = False;
     720
     721        # Display files left behind.
     722        def dirEnumCallback(sName, oStat):
     723            """ callback for dirEnumerateTree """
     724            fnLog(u'%s %s' % (utils.formatFileStat(oStat) if oStat is not None else '????????????', sName));
     725        utils.dirEnumerateTree(self._oOptions.sScratchRoot, dirEnumCallback);
    720726
    721727        #
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