From f55dcddbc79620f2dc2bbce0aa0e95570db9bc2c Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 11 Jun 2017 22:56:27 +1000 Subject: tests/extmod/vfs_basic: Allow test to pass on embedded targets. --- tests/extmod/vfs_basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/extmod/vfs_basic.py') 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()) -- cgit v1.2.3