Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
f55dcddb
Commit
f55dcddb
authored
Jun 11, 2017
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/extmod/vfs_basic: Allow test to pass on embedded targets.
parent
0a7735f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tests/extmod/vfs_basic.py
tests/extmod/vfs_basic.py
+2
-2
tests/extmod/vfs_basic.py.exp
tests/extmod/vfs_basic.py.exp
+1
-1
No files found.
tests/extmod/vfs_basic.py
View file @
f55dcddb
...
@@ -56,8 +56,8 @@ for path in uos.listdir('/'):
...
@@ -56,8 +56,8 @@ for path in uos.listdir('/'):
# stat root dir
# stat root dir
print
(
uos
.
stat
(
'/'
))
print
(
uos
.
stat
(
'/'
))
# statvfs root dir
# statvfs root dir
; verify that f_namemax has a sensible size
print
(
uos
.
statvfs
(
'/'
))
print
(
uos
.
statvfs
(
'/'
)
[
9
]
>=
32
)
# getcwd when in root dir
# getcwd when in root dir
print
(
uos
.
getcwd
())
print
(
uos
.
getcwd
())
...
...
tests/extmod/vfs_basic.py.exp
View file @
f55dcddb
(16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
(16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
(0, 0, 0, 0, 0, 0, 0, 0, 0, 4096)
True
/
/
1 mount False False
1 mount False False
['test_mnt']
['test_mnt']
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment