File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 10
10
import logging
11
11
import os
12
12
import pathlib
13
+ import platform
13
14
import shutil
14
15
import warnings
15
16
16
17
import attr
18
+ import pytest
17
19
18
20
from commoncode import fileutils
19
21
from commoncode .system import on_linux
@@ -74,6 +76,11 @@ def get_command(env_var=EXTRACTCODE_GUESTFISH_PATH_ENVVAR, command='guestfish'):
74
76
return cmd_loc
75
77
76
78
79
+ freedesktop_os_release = platform .freedesktop_os_release ()
80
+ is_ubuntu_2204 = freedesktop_os_release ['ID' ] == 'ubuntu' and freedesktop_os_release ['VERSION_ID' ] == '22.04'
81
+
82
+
83
+ @pytest .mark .xfail (is_ubuntu_2204 , reason = 'Kernel is not readable on Ubuntu 22.04' )
77
84
def check_linux_kernel_is_readable ():
78
85
"""
79
86
Return True if the kernel executable file can be read. This is required by
You can’t perform that action at this time.
0 commit comments