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
7043286d6c
commit
ce2733ef9a
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)
|
||||
|
||||
if 'Problem encountered' in ret:
|
||||
self.skipTest('A problem was encountered when running pkg.upgrade. This test is '
|
||||
|
|
Loading…
Add table
Reference in a new issue