summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_fat_ramdisk.py.exp
AgeCommit message (Collapse)Author
2018-08-25Fix os.stat() to use 1970 epochNoralf Trønnes
Commit 95e70cd0ea6d 'time: Use 1970 epoch' changed epoch for the time module, but not for other users. This patch does the same for the only other core timeutils user: extmod/vfs_fat.c:fat_vfs_stat(). Other timeutils users: cc3200, esp8266 and stm32, are not changed. Ports that don't use long ints, will still get wrong time values from os.stat().
2018-07-11WIP: after merge; before testingDan Halbert
2018-03-27Add VfsFat.label propertyJeff Epler
These allow accessing the filesystem label. For instance, in boot.py, you can set the label on the built-in storage with: storage.remount('/', False) storage.getmount('/').label = "NEWLABEL" storage.remount('/', True) Users with multiple CIRCUITPY boards may find it desirable to choose a different label for each board they own.
2018-03-12extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple.Tom Collins
2017-05-13tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory.Damien George
2017-05-10tests/extmod/vfs: Update tests to reflect new ilistdir() method.Damien George
2017-01-27tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.Damien George
2017-01-27tests/extmod/vfs_fat: Update tests to work with new VFS sub-system.Damien George
The vfs_fat_fsusermount test is no longer relevant so has been removed.
2017-01-27test/extmod: Update vfs_fat tests for new OO FatFs library.Damien George
The new version of FatFs requires a minimum of 50 blocks on the device. Also, some tests no longer make sense with an OO vfs.
2016-10-24tests/extmod/vfs_fat: Improve VFS test coverage.Alex March
Covered case: - Stat cases - Invalid read/write/flush/close - Invalid mkdir/rmdir/remove/getcwd - File seek/tell, modes a/x/+, t/b - Writing to a full disk - Full path rename, slash trim - Rename cases - Bytestring listdir - File object printing
2016-10-13tests/extmod/vfs_fat: Replace asserts with prints and expected outputs.Alex March
2016-10-11tests/extmod/vfs_fat: Test coverage for remove() and rmdir().Alex March
2016-09-27tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs().Alex March
2016-05-29tests/extmod/vfs_fat_ramdisk: Add testcases for chdir(), getcwd().Paul Sokolovsky
2016-02-14tests/vfs_fat_ramdisk: Add test for VfsFat.Paul Sokolovsky