diff options
-rw-r--r-- | tests/extmod/vfs_basic.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/extmod/vfs_basic.py b/tests/extmod/vfs_basic.py index c8f4eaee92..83c83fd227 100644 --- a/tests/extmod/vfs_basic.py +++ b/tests/extmod/vfs_basic.py @@ -46,6 +46,10 @@ class Filesystem: print(self.id, 'open', file, mode) +# first we umount any existing mount points the target may have +for path in uos.listdir('/'): + uos.umount('/' + path) + # stat root dir print(uos.stat('/')) |