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

crypto-aes
Alex March 6 years ago committed by Damien George
parent dcf14c1b18
commit 670376c5cb

@ -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())

@ -1,3 +1,4 @@
statvfs: (512, 512, 14, 14, 14, 0, 0, 0, 0, 255)
getcwd: /ramdisk
hello!
getcwd: /ramdisk/foo_dir

Loading…
Cancel
Save