Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a0c72968
Commit
a0c72968
authored
Jan 27, 2017
by
Damien George
Browse files
tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.
parent
bfa948c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/extmod/vfs_fat_ramdisk.py
View file @
a0c72968
...
...
@@ -63,7 +63,7 @@ with vfs.open("foo_file.txt", "w") as f:
print
(
vfs
.
listdir
())
print
(
"stat root:"
,
vfs
.
stat
(
"/"
))
print
(
"stat file:"
,
vfs
.
stat
(
"foo_file.txt"
)
)
print
(
"stat file:"
,
vfs
.
stat
(
"foo_file.txt"
)
[:
-
3
])
# timestamps differ across runs
print
(
b
"FOO_FILETXT"
in
bdev
.
data
)
print
(
b
"hello!"
in
bdev
.
data
)
...
...
tests/extmod/vfs_fat_ramdisk.py.exp
View file @
a0c72968
...
...
@@ -5,7 +5,7 @@ getcwd: /
True
['foo_file.txt']
stat root: (16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
stat file: (32768, 0, 0, 0, 0, 0, 6
, -631238400, -631238400, -631238400
)
stat file: (32768, 0, 0, 0, 0, 0, 6)
True
True
getcwd: /foo_dir
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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