diff options
author | Damien George <damien.p.george@gmail.com> | 2017-06-11 22:56:27 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-11 22:56:27 +1000 |
commit | f55dcddbc79620f2dc2bbce0aa0e95570db9bc2c (patch) | |
tree | 693b6f525787724b3d371d971fe4d9f2fe1edc2e /tests/extmod/vfs_basic.py | |
parent | 0a7735f1a67e7c2d6f59205f8d57fca2449cec93 (diff) |
tests/extmod/vfs_basic: Allow test to pass on embedded targets.
Diffstat (limited to 'tests/extmod/vfs_basic.py')
-rw-r--r-- | tests/extmod/vfs_basic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/extmod/vfs_basic.py b/tests/extmod/vfs_basic.py index 995874824..4fc67d34b 100644 --- a/tests/extmod/vfs_basic.py +++ b/tests/extmod/vfs_basic.py @@ -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()) |