Changeset 83846 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Apr 20, 2020 9:41:55 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py
r83839 r83846 343 343 if oTestVm.sKind.startswith('Debian') \ 344 344 or oTestVm.sKind.startswith('Ubuntu'): 345 fRc = self.txsRunTest(oTxsSession, 'Updating package sources', 5 * 60 *1000, 346 '/usr/bin/apt-get', ('/usr/bin/apt-get', 'update'), 347 fCheckSessionStatus = True); 345 346 # As Ubuntu 15.10 is EOL we need to tweak the package sources by hand first in order to have a working 347 # package update path again; otherwise updating and installing packages will fail. 348 if 'ubuntu-15_10' in oTestVm.sKind: 349 fRc = self.txsRunTest(oTxsSession, 'Applying EOL upgrade path of Ubuntu 15.10', 5 * 60 *1000, 350 '/bin/sed', 351 ('/bin/sed', '-E', '-i', 352 '"s/http:\\/\\/.*\\.ubuntu\\.com/http:\\/\\/old-releases.ubuntu.com/"', 353 '/etc/apt/sources.list'), 354 fCheckSessionStatus = True); 355 if fRc: 356 fRc = self.txsRunTest(oTxsSession, 'Updating package sources', 5 * 60 *1000, 357 '/usr/bin/apt-get', ('/usr/bin/apt-get', 'update'), 358 fCheckSessionStatus = True); 348 359 if fRc: 349 360 fRc = self.txsRunTest(oTxsSession, 'Installing Kernel headers', 5 * 60 *1000,
Note:
See TracChangeset
for help on using the changeset viewer.