Commit 670376c5 authored by Alex March's avatar Alex March Committed by Damien George
Browse files

tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs().

parent dcf14c1b
......@@ -45,6 +45,7 @@ assert b"FOO_FILETXT" not in bdev.data
assert b"hello!" not in bdev.data
vfs = uos.VfsFat(bdev, "/ramdisk")
print("statvfs:", vfs.statvfs("/ramdisk"))
print("getcwd:", vfs.getcwd())
......
statvfs: (512, 512, 14, 14, 14, 0, 0, 0, 0, 255)
getcwd: /ramdisk
hello!
getcwd: /ramdisk/foo_dir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment