summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_userfs.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-04 16:25:06 +1000
committerDamien George <damien.p.george@gmail.com>2018-06-12 12:29:26 +1000
commitc901cc6862e982b733a45412b649d7f404751b42 (patch)
tree76eae6aad74c060efeaa21b49d5525f2299f6bd7 /tests/extmod/vfs_userfs.py.exp
parent9144b1f10c5f48a93fdb2aefa528813bd60a2f85 (diff)
tests/extmod: Add test for VFS and user-defined filesystem and files.
Diffstat (limited to 'tests/extmod/vfs_userfs.py.exp')
-rw-r--r--tests/extmod/vfs_userfs.py.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/extmod/vfs_userfs.py.exp b/tests/extmod/vfs_userfs.py.exp
new file mode 100644
index 000000000..6a4d925b9
--- /dev/null
+++ b/tests/extmod/vfs_userfs.py.exp
@@ -0,0 +1,12 @@
+open /data.txt r
+b'some data in a text file\n'
+stat /usermod1
+stat /usermod1.py
+open /usermod1.py r
+ioctl 4 0
+in usermod1
+stat /usermod2
+stat /usermod2.py
+open /usermod2.py r
+ioctl 4 0
+in usermod2