summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Kendall <brian@briankendall.net>2022-04-14 00:25:29 -0400
committerRadek Podgorny <radek@podgorny.cz>2022-07-02 18:37:37 +0200
commitce2b016a1e7392192748d24cda5b5104bb08c476 (patch)
tree3a070a927ba1e37b1c100769c2d2113fb2aaea7d
parent5d00b5326f01dfce00addd5605d01425a9140071 (diff)
downloadunionfs-fuse-git-ce2b016a1e7392192748d24cda5b5104bb08c476.tar.gz
Add comment explaining use of nobrowse
-rwxr-xr-xtest_all.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_all.py b/test_all.py
index 8e9012d..0c0a3da 100755
--- a/test_all.py
+++ b/test_all.py
@@ -91,6 +91,8 @@ class Common:
if platform.system() == 'Darwin':
# Need to get the unionfs device name so that we can unmount it later:
prev_mounts = get_osxfuse_unionfs_mounts()
+ # nobrowse prevents Finder from creating spurious icons on the desktop (which
+ # sometimes will not go away after the union filesystem is unmounted!)
call('%s -o nobrowse %s' % (self.unionfs_path, cmd))
cur_mounts = get_osxfuse_unionfs_mounts()
self.mount_device = list(set(cur_mounts)-set(prev_mounts))[0]