VirtualBox

Changeset 65460 in vbox


Ignore:
Timestamp:
Jan 26, 2017 4:36:22 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113085
Message:

ValidationKit: Allow to upload files from the misc/ category, use application/octet-stream because we don't know whats in there

File:
1 edited

Legend:

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

    r65341 r65460  
    854854            self._doUploadFile(oSrcFile, sAltName, sDescription, sKind, 'image/png');
    855855            g_oLock.acquire();
     856        elif sKind.startswith('misc/'):
     857            self.log(0, '*** Uploading "%s" - KIND: "%s" - DESC: "%s" ***'
     858                        % (sSrcFilename, sKind, sDescription),  sCaller, sTsPrf);
     859            self.xmlFlush();
     860            g_oLock.release();
     861            self._doUploadFile(oSrcFile, sAltName, sDescription, sKind, 'application/octet-stream');
     862            g_oLock.acquire();
    856863        else:
    857864            self.log(0, '*** UNKNOWN FILE "%s" - KIND "%s" - DESC "%s" ***'
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