Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion virttest/utils_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def mount(src, dst, fstype=None, options=None, verbose=False, session=None):
return process.system(cmd, verbose=verbose) == 0


def umount(src, dst, fstype=None, verbose=False, session=None):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @hellohellenmao
I suggest that you could customize the argument for the test case, rather than change the default here since this change will affect the previous behaviors and we need to involve more reviewers to evaluate it.
In order to reduce the influence and satisfy your requirements, I suggest specifying verbose=True in your scenario.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, make sense. Will close this PR, thanks.

def umount(src, dst, fstype=None, verbose=True, session=None):
"""
Umount src from dst, if src really mounted under dst.

Expand Down