Skip to content

Commit

Permalink
Actually create the mountpoint before using
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Jun 20, 2024
1 parent 56e2702 commit d3d4b04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testlib/infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,5 +605,6 @@ def mount(self, fs_path):
:rtype: str
"""
mountpoint = os.path.join(self.mount_root, os.path.basename(fs_path))
os.mkdir(mountpoint)
subprocess.check_call([MOUNT, fs_path, mountpoint])
return mountpoint

0 comments on commit d3d4b04

Please sign in to comment.