Skip to content

Commit a415ed5

Browse files
authored
Merge pull request #4272 from dzhengfy/fix_check_bootc
utils_sys: check bootc available
2 parents b134831 + 613e1bc commit a415ed5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

virttest/utils_sys.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def _check_output(status, output):
9898
)
9999
return result
100100

101+
status, _ = cmd_status_output("which bootc", shell=True, session=session)
102+
if status:
103+
return False
101104
if session:
102105
status, output = session.cmd_status_output(check_command)
103106
return _check_output(status, output)

0 commit comments

Comments
 (0)