avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
336 stars 335 forks source link

Exception handling should be added when invoking external commands to handle possible command execution failures or exceptions. #5885

Closed sunqingwei811 closed 3 months ago

sunqingwei811 commented 3 months ago

Modify avocado/utils/disk.py:change get_disks(),Exception handling should be added when invoking external commands to handle possible command execution failures or exceptions.

sunqingwei811 commented 3 months ago

@richtja Hello, since there were many problems with the previous one, I submitted a new one