Skip to content

Commit

Permalink
updating the chmod command
Browse files Browse the repository at this point in the history
  • Loading branch information
umfranci committed Sep 5, 2024
1 parent 6eb6c00 commit 8865aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microsoft/testsuites/network/networksettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
)
from lisa.base_tools import Uname
from lisa.operating_system import BSD, Debian, Redhat, Suse, Ubuntu, Windows
from lisa.tools import Ethtool, Iperf3, KernelConfig, Modinfo, Nm
from lisa.tools import Ethtool, Iperf3, KernelConfig, Modinfo, Nm, Chmod
from lisa.util import parse_version
from microsoft.testsuites.network.common import cleanup_iperf3

Expand Down Expand Up @@ -730,7 +730,7 @@ def _check_msg_level_change_supported(self, node: Node) -> None:
shell=True,
cwd=node.working_path,
).stdout
node.shell.chmod(PurePosixPath(netvsc_module), 0o755)
node.tools[Chmod].chmod(netvsc_module, "777", sudo=True)
assert node.shell.exists(
PurePosixPath(netvsc_module)
), f"{netvsc_module} doesn't exist."
Expand Down

0 comments on commit 8865aa0

Please sign in to comment.