tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.
This commit is contained in:
parent
bfa948c0a5
commit
a0c729681f
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user