From 62df0a0eb25e0cc794df72e358fa7a8f78369eef Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 17 Jul 2021 16:43:22 +0200 Subject: [PATCH] thx osx --- tests/util.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/util.py b/tests/util.py index 6ab3c6fe..02fbe936 100644 --- a/tests/util.py +++ b/tests/util.py @@ -66,6 +66,9 @@ def get_ramdisk(): for _ in range(10): try: _, _ = chkcmd("diskutil", "eraseVolume", "HFS+", "cptd", devname) + with open("/Volumes/cptd/.metadata_never_index", "w") as f: + f.write("orz") + return subdir("/Volumes/cptd") except Exception as ex: print(repr(ex))