mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 00:50:24 +08:00
e3ba6f952b
A VfsPosix created with a relative root path would get confused when chdir() was called on it and become unable to properly resolve absolute paths, because changing directories effectively shifted its root. The simplest fix for that would be to say "don't do that", but since the unit tests themselves do it, fix it by making a relative path absolute before storing it. Signed-off-by: Christian Walther <cwalther@gmx.ch>
18 lines
209 B
Plaintext
18 lines
209 B
Plaintext
/
|
|
True
|
|
<class 'tuple'>
|
|
<class 'list'>
|
|
<io.TextIOWrapper 2>
|
|
hello
|
|
next_file_no <= base_file_no True
|
|
['test2']
|
|
['test2']
|
|
<class 'tuple'>
|
|
<class 'str'>
|
|
<class 'bytes'>
|
|
hello
|
|
[]
|
|
remove OSError
|
|
False
|
|
rmdir OSError
|