From 670376c5cb3b687c60688cf18266898b2faef2e2 Mon Sep 17 00:00:00 2001
From: Alex March <alex.march.dev@gmail.com>
Date: Sun, 25 Sep 2016 21:52:52 +0100
Subject: [PATCH] tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs().

---
 tests/extmod/vfs_fat_ramdisk.py     | 1 +
 tests/extmod/vfs_fat_ramdisk.py.exp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/extmod/vfs_fat_ramdisk.py b/tests/extmod/vfs_fat_ramdisk.py
index 57c8eeba8..f470dbcfe 100644
--- a/tests/extmod/vfs_fat_ramdisk.py
+++ b/tests/extmod/vfs_fat_ramdisk.py
@@ -45,6 +45,7 @@ assert b"FOO_FILETXT" not in bdev.data
 assert b"hello!" not in bdev.data
 
 vfs = uos.VfsFat(bdev, "/ramdisk")
+print("statvfs:", vfs.statvfs("/ramdisk"))
 
 print("getcwd:", vfs.getcwd())
 
diff --git a/tests/extmod/vfs_fat_ramdisk.py.exp b/tests/extmod/vfs_fat_ramdisk.py.exp
index b6079ad3b..fd893b6e4 100644
--- a/tests/extmod/vfs_fat_ramdisk.py.exp
+++ b/tests/extmod/vfs_fat_ramdisk.py.exp
@@ -1,3 +1,4 @@
+statvfs: (512, 512, 14, 14, 14, 0, 0, 0, 0, 255)
 getcwd: /ramdisk
 hello!
 getcwd: /ramdisk/foo_dir
-- 
GitLab