File: vfs_basic.py.exp

package info (click to toggle)
micropython 1.25.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 48,944 kB
  • sloc: ansic: 317,850; python: 59,539; xml: 4,241; makefile: 3,530; sh: 1,421; javascript: 744; asm: 681; cpp: 45; exp: 11; pascal: 6
file content (78 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
(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
/