Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
realsdx committed Nov 22, 2024
1 parent a2e47c4 commit 70467c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions microsoft/testsuites/xfstests/xfstesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
simple_requirement,
)
from lisa.features import Disk, Nvme
from lisa.operating_system import BSD, Oracle, Redhat, Windows, CBLMariner
from lisa.operating_system import BSD, CBLMariner, Oracle, Redhat, Windows
from lisa.sut_orchestrator import AZURE
from lisa.sut_orchestrator.azure.features import AzureFileShare
from lisa.sut_orchestrator.azure.platform_ import AzurePlatform
Expand Down Expand Up @@ -516,7 +516,8 @@ def _execute_xfstests(
# Fix Mariner umask for xfstests
if isinstance(node.os, CBLMariner):
echo = node.tools[Echo]
echo.write_to_file("umask 0022\n", "/etc/profile", sudo=True, append=True)
profile_path = node.get_pure_path("/etc/profile")
echo.write_to_file("umask 0022\n", profile_path, sudo=True, append=True)
# Close the current session to apply the umask change on the next login
node.close()

Expand Down

0 comments on commit 70467c8

Please sign in to comment.