tests/extmod/vfs_basic: Allow test to pass on embedded targets.

pull/1728/merge
Damien George 2017-06-11 22:56:27 +10:00
rodzic 0a7735f1a6
commit f55dcddbc7
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -56,8 +56,8 @@ for path in uos.listdir('/'):
# stat root dir
print(uos.stat('/'))
# statvfs root dir
print(uos.statvfs('/'))
# statvfs root dir; verify that f_namemax has a sensible size
print(uos.statvfs('/')[9] >= 32)
# getcwd when in root dir
print(uos.getcwd())

Wyświetl plik

@ -1,5 +1,5 @@
(16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
(0, 0, 0, 0, 0, 0, 0, 0, 0, 4096)
True
/
1 mount False False
['test_mnt']