diff options
author | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-03-20 13:30:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 13:30:12 +0100 |
commit | 694f3d5231e0ec4b25416db97ac113b4f89630d6 (patch) | |
tree | 860e0d6c96cd91858c2361a935b8fdd14532b68e /test/util.py | |
parent | a6a219f5344a5c09cec34416818342ac220a0df2 (diff) | |
parent | 425f52a1f515cd0e2148a427330bb82c96b18856 (diff) | |
download | libfuse-694f3d5231e0ec4b25416db97ac113b4f89630d6.tar.gz |
Merge pull request #904 from bsbernd/s-bit-fusermount
Add back s-bit for compiled fusermount
Diffstat (limited to 'test/util.py')
-rw-r--r-- | test/util.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/util.py b/test/util.py index 0a1fa93..623b031 100644 --- a/test/util.py +++ b/test/util.py @@ -151,6 +151,12 @@ def powerset(iterable): return itertools.chain.from_iterable( itertools.combinations(s, r) for r in range(len(s)+1)) +def create_tmpdir(mnt_dir): + if not os.path.exists(mnt_dir): + print("makedirs: '" + mnt_dir + "'") + os.makedirs(mnt_dir) + else: + print("mnt_dir exists: '" + mnt_dir + "'") # Use valgrind if requested if os.environ.get('TEST_WITH_VALGRIND', 'no').lower().strip() \ |