Skip to content

Commit 613e1bc

Browse files
committed
utils_sys: check bootc available
Signed-off-by: Dan Zheng <dzheng@redhat.com>
1 parent 22eae3a commit 613e1bc

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
@@ -97,6 +97,9 @@ def _check_output(status, output):
9797
)
9898
return result
9999

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

0 commit comments

Comments
 (0)