mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
upgrade including linux kernels
This is required for ubuntu 14.04 to pass.
This commit is contained in:
parent
be6691d91b
commit
7bf5ba83c8
1 changed files with 4 additions and 1 deletions
|
@ -324,7 +324,10 @@ class PkgModuleTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
if ret == '' or ret == {}:
|
||||
self.skipTest('No updates available for this machine. Skipping pkg.upgrade test.')
|
||||
else:
|
||||
ret = self.run_function(func)
|
||||
args = []
|
||||
if os_family == 'Debian':
|
||||
args = ['dist_upgrade=True']
|
||||
ret = self.run_function(func, args)
|
||||
self.assertNotEqual(ret, {})
|
||||
|
||||
@destructiveTest
|
||||
|
|
Loading…
Add table
Reference in a new issue