Skip to content

Commit a0c7296

Browse files
committed
tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.
1 parent bfa948c commit a0c7296

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/extmod/vfs_fat_ramdisk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def ioctl(self, op, arg):
6363
print(vfs.listdir())
6464

6565
print("stat root:", vfs.stat("/"))
66-
print("stat file:", vfs.stat("foo_file.txt"))
66+
print("stat file:", vfs.stat("foo_file.txt")[:-3]) # timestamps differ across runs
6767

6868
print(b"FOO_FILETXT" in bdev.data)
6969
print(b"hello!" in bdev.data)

tests/extmod/vfs_fat_ramdisk.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ getcwd: /
55
True
66
['foo_file.txt']
77
stat root: (16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
8-
stat file: (32768, 0, 0, 0, 0, 0, 6, -631238400, -631238400, -631238400)
8+
stat file: (32768, 0, 0, 0, 0, 0, 6)
99
True
1010
True
1111
getcwd: /foo_dir

0 commit comments

Comments
 (0)