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

pull/2816/head
Damien George 2017-01-27 23:15:09 +11:00
rodzic bfa948c0a5
commit a0c729681f
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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