Commit a0c72968 authored by Damien George's avatar Damien George
Browse files

tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.

parent bfa948c0
......@@ -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
......
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