Changeset 83863 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Apr 20, 2020 3:28:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py
r83860 r83863 351 351 asEnv += ('http_proxy=' + sHttpProxy, 'https_proxy=' + sHttpsProxy); 352 352 353 cMsTimeout = 15 * 60 * 1000; # Use a 15 minutes timeout; needed for sloooow internet connections :-/ 354 353 355 # Install Kernel headers, which are required for actually installing the Linux Additions. 354 356 if oTestVm.sKind.startswith('Debian') \ … … 376 378 fCheckSessionStatus = True); 377 379 if fRc: 378 fRc = self.txsRunTest(oTxsSession, 'Updating package sources', 5 * 60 *1000,380 fRc = self.txsRunTest(oTxsSession, 'Updating package sources', cMsTimeout, 379 381 '/usr/bin/apt-get', ('/usr/bin/apt-get', 'update'), 380 382 asAddEnv = asEnv, 381 383 fCheckSessionStatus = True); 382 384 if fRc: 383 fRc = self.txsRunTest(oTxsSession, 'Installing Kernel headers', 5 * 60 *1000,385 fRc = self.txsRunTest(oTxsSession, 'Installing Kernel headers', cMsTimeout, 384 386 '/usr/bin/apt-get', ('/usr/bin/apt-get', 'install', '-y', 'linux-headers-generic'), 385 387 asAddEnv = asEnv, 386 388 fCheckSessionStatus = True); 387 389 if fRc: 388 fRc = self.txsRunTest(oTxsSession, 'Installing Guest Additions depdendencies', 5 * 60 *1000, \390 fRc = self.txsRunTest(oTxsSession, 'Installing Guest Additions depdendencies', cMsTimeout, \ 389 391 '/usr/bin/apt-get', ('/usr/bin/apt-get', 'install', '-y', 'build-essential', 'perl'), 390 392 asAddEnv = asEnv, … … 396 398 or oTestVm.sKind.startswith('Cent'): 397 399 398 fRc = self.txsRunTest(oTxsSession, 'Updating package sources', 5 * 60 *1000,400 fRc = self.txsRunTest(oTxsSession, 'Updating package sources', cMsTimeout, 399 401 '/usr/bin/yum', ('/usr/bin/yum', 'update'), 400 402 asAddEnv = asEnv, 401 403 fCheckSessionStatus = True); 402 404 if fRc: 403 fRc = self.txsRunTest(oTxsSession, 'Installing Kernel headers', 5 * 60 *1000,405 fRc = self.txsRunTest(oTxsSession, 'Installing Kernel headers', cMsTimeout, 404 406 '/usr/bin/yum', ('/usr/bin/yum', '-y', 'install', 'kernel-headers'), 405 407 asAddEnv = asEnv, 406 408 fCheckSessionStatus = True); 407 409 if fRc: 408 fRc = self.txsRunTest(oTxsSession, 'Installing Guest Additions depdendencies', 5 * 60 *1000, \410 fRc = self.txsRunTest(oTxsSession, 'Installing Guest Additions depdendencies', cMsTimeout, \ 409 411 '/usr/bin/yum', ('/usr/bin/yum', '-y', 'install', \ 410 412 'make', 'automake', 'gcc', 'kernel-devel', 'dkms', 'bzip2', 'perl'),
Note:
See TracChangeset
for help on using the changeset viewer.