~powersj/curtin/lxctest

« back to all changes in this revision

Viewing changes to tests/vmtests/test_raid5_bcache.py

  • Committer: Ryan Harper
  • Date: 2016-06-17 03:34:33 UTC
  • mfrom: (390.1.15 trunk.yakkety)
  • Revision ID: ryan.harper@canonical.com-20160617033433-a7txy3eowri1i3lt
tests/vmtests: add yakkety, remove vivid

Vivid is unsupported now, so remove those tests.
Add Yakkety tests for any test that had a xenial test.

The one thing that is questionable here is the usage of 'linux-generic'
as the fallback, where previously there was none.
The change means that linux-generic kernel would be installed
even if there was a useful kernel installed in the image.

Fix ifconfig output parsing to work for yakkety, And remove the code
duplication by putting the ifconfig parser into helpers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    __test__ = False
94
94
 
95
95
 
96
 
class VividTestRaid5Bcache(relbase.vivid, TestMdadmBcacheAbs):
97
 
    __test__ = True
98
 
 
99
 
 
100
96
class WilyTestRaid5Bcache(relbase.wily, TestMdadmBcacheAbs):
101
97
    __test__ = True
 
98
 
 
99
 
 
100
class XenialTestRaid5Bcache(relbase.xenial, TestMdadmBcacheAbs):
 
101
    __test__ = True
 
102
 
 
103
 
 
104
class YakketyTestRaid5Bcache(relbase.yakkety, TestMdadmBcacheAbs):
 
105
    __test__ = True