Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
670376c5
Commit
670376c5
authored
Sep 25, 2016
by
Alex March
Committed by
Damien George
Sep 27, 2016
Browse files
tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs().
parent
dcf14c1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/extmod/vfs_fat_ramdisk.py
View file @
670376c5
...
...
@@ -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
())
...
...
tests/extmod/vfs_fat_ramdisk.py.exp
View file @
670376c5
statvfs: (512, 512, 14, 14, 14, 0, 0, 0, 0, 255)
getcwd: /ramdisk
hello!
getcwd: /ramdisk/foo_dir
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment