Files
micropython/tests/extmod/vfs_basic.py.exp
T
Dan Halbert 9d989e4d8b tests: Remove further trailing spaces when possible.
Most cases here have `print(..., some_str)` changed to
`print(..., repr(some_str))`.  This makes the empty string visible and
prevents bare trailing spaces.

Signed-off-by: Dan Halbert <halbert@halwitz.org>
2026-04-30 23:26:13 +10:00

79 lines
1.1 KiB
Plaintext

(16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
True
/
chdir x OSError
chdir /x OSError
listdir x OSError
listdir /x OSError
mkdir x OSError
mkdir /x OSError
remove x OSError
remove /x OSError
rmdir x OSError
rmdir /x OSError
stat x OSError
stat /x OSError
1 mount False False
['test_mnt']
('test_mnt', 16384, 0)
StopIteration
StopIteration
1 ilistdir '/'
['a1']
1 ilistdir '/'
['a1']
2 mount True False
['test_mnt', 'test_mnt2']
2 ilistdir '/'
['a2']
3 mount False False
OSError
OSError
OSError
1 chdir '/'
1 ilistdir ''
['a1']
1 getcwd
/test_mntdir1
1 mkdir 'test_dir'
1 remove 'test_file'
1 rename 'test_file' 'test_file2'
1 rmdir 'test_dir'
1 stat 'test_file'
(1,)
1 statvfs '/'
(1,)
1 open test_file r
1 open test_file wb
1 umount
2 umount
OSError
3 mount False False
(16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
3 statvfs '/'
(3,)
3 ilistdir '/'
['a3']
3 open test r
4 mount False False
3 ilistdir '/'
['mnt', 'a3']
4 ilistdir '/'
['a4']
4 chdir '/'
4 ilistdir ''
['a4']
3 chdir '/subdir'
3 ilistdir ''
['a3']
3 chdir '/'
3 umount
['mnt']
4 umount
OSError
/
5 mount False False
5 chdir '/subdir'
OSError
/