summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/extmod/vfs_basic.py4
-rw-r--r--tests/extmod/vfs_basic.py.exp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/extmod/vfs_basic.py b/tests/extmod/vfs_basic.py
index 9958748244..4fc67d34b2 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())
diff --git a/tests/extmod/vfs_basic.py.exp b/tests/extmod/vfs_basic.py.exp
index f8ecd07eaa..0ae2c2cc97 100644
--- a/tests/extmod/vfs_basic.py.exp
+++ b/tests/extmod/vfs_basic.py.exp
@@ -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']