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

pull/1/head
Damien George 2017-06-11 22:56:27 +10:00
parent 0a7735f1a6
commit f55dcddbc7
2 changed files with 3 additions and 3 deletions

View File

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

View File

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