summaryrefslogtreecommitdiff
path: root/tests/vmtests/test_basic.py
diff options
context:
space:
mode:
authorRyan Harper <[email protected]>2018-05-17 19:14:57 -0500
committerRyan Harper <[email protected]>2018-05-17 19:14:57 -0500
commit5313b9e2df45309195ea30cdaba836ae1e9cf66e (patch)
tree56c75657fa2f344f229c2914f7c27163a7b6f045 /tests/vmtests/test_basic.py
parent9e6e66af224132d8af524f3f408f73d769adf3e4 (diff)
zfs: implement a supported check to handle i386
The zfs kernel module is not available for i386 so curtin cannot expect that missing that module is fatal. Concentrate the various checks for when we load the zfs kernel module into the zfs python module. Add vmtest to exercise the i386 path. LP: #1768709
Diffstat (limited to 'tests/vmtests/test_basic.py')
-rw-r--r--tests/vmtests/test_basic.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/vmtests/test_basic.py b/tests/vmtests/test_basic.py
index ce86406e..2e47cb63 100644
--- a/tests/vmtests/test_basic.py
+++ b/tests/vmtests/test_basic.py
@@ -152,6 +152,11 @@ class TrustyHWEXTestBasic(relbase.trusty_hwe_x, TrustyTestBasic):
__test__ = True
+class XenialGAi386TestBasic(relbase.xenial_ga, TestBasicAbs):
+ __test__ = True
+ arch = 'i386'
+
+
class XenialGATestBasic(relbase.xenial_ga, TestBasicAbs):
__test__ = True