summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_mountinfo.py.exp
diff options
context:
space:
mode:
authorAnson Mansfield <amansfield@mantaro.com>2025-03-03 14:05:31 -0500
committerDamien George <damien@micropython.org>2025-03-27 16:37:04 +1100
commit9fcc25b9d7e6246f9c1dda3c07f3e718f751e74c (patch)
treead0d3b829ff4cd7cac1b0393aaf9012cd298c69e /tests/extmod/vfs_mountinfo.py.exp
parent1487a13079ec5e33cac8d273e6d2fa805bca4b1e (diff)
tests/extmod/vfs_mountinfo.py: Add test for no-args mount output.
Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
Diffstat (limited to 'tests/extmod/vfs_mountinfo.py.exp')
-rw-r--r--tests/extmod/vfs_mountinfo.py.exp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/extmod/vfs_mountinfo.py.exp b/tests/extmod/vfs_mountinfo.py.exp
new file mode 100644
index 000000000..4ddf06c8c
--- /dev/null
+++ b/tests/extmod/vfs_mountinfo.py.exp
@@ -0,0 +1,11 @@
+[]
+mount Filesystem(1)
+[(Filesystem(1), '/foo')]
+mount Filesystem(2)
+[(Filesystem(1), '/foo'), (Filesystem(2), '/bar/baz')]
+mount Filesystem(3)
+[(Filesystem(1), '/foo'), (Filesystem(2), '/bar/baz'), (Filesystem(3), '/bar')]
+umount Filesystem(2)
+[(Filesystem(1), '/foo'), (Filesystem(3), '/bar')]
+mount Filesystem(4)
+[(Filesystem(1), '/foo'), (Filesystem(3), '/bar'), (Filesystem(4), '/')]