circuitpython/tests/extmod/vfs_lfs_error.py.exp
Damien George 44bcfe53de tests/extmod/vfs_lfs_error.py: Test value of all OSError's errno.
To make sure they have the correct value.

Signed-off-by: Damien George <damien@micropython.org>
2025-05-15 13:09:49 +10:00

28 lines
696 B
Text

test <class 'VfsLfs1'>
mkfs OSError True
mount OSError True
ilistdir OSError [Errno 2] ENOENT
remove OSError [Errno 2] ENOENT
rmdir OSError [Errno 2] ENOENT
rename OSError [Errno 2] ENOENT
mkdir OSError [Errno 17] EEXIST
chdir OSError [Errno 2] ENOENT
/
chdir OSError [Errno 2] ENOENT
/
stat OSError [Errno 2] ENOENT
seek OSError [Errno 22] EINVAL
test <class 'VfsLfs2'>
mkfs OSError True
mount OSError True
ilistdir OSError [Errno 2] ENOENT
remove OSError [Errno 2] ENOENT
rmdir OSError [Errno 2] ENOENT
rename OSError [Errno 2] ENOENT
mkdir OSError [Errno 17] EEXIST
chdir OSError [Errno 2] ENOENT
/
chdir OSError [Errno 2] ENOENT
/
stat OSError [Errno 2] ENOENT
seek OSError [Errno 22] EINVAL