aboutsummaryrefslogtreecommitdiff
path: root/tests/stat/output.txt
blob: 1e6ae74ebfa235118afc1c312cfdc72d78268e00 (plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
--stat FOLDER--
ret: 0
errno: 0
st_dev: 1
st_ino: 2
st_mode: 040777
st_nlink: 1
st_rdev: 0
st_size: 4096
st_atime: 1200000000
st_mtime: 1200000000
st_ctime: 1200000000
st_blksize: 4096
st_blocks: 1
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 1
S_ISFIFO: 0
S_ISREG: 0
S_ISLNK: 0
S_ISSOCK: 0

--stat FILE--
ret: 0
errno: 0
st_dev: 1
st_ino: 3
st_mode: 0100777
st_nlink: 1
st_rdev: 0
st_size: 6
st_atime: 1200000000
st_mtime: 1200000000
st_ctime: 1200000000
st_blksize: 4096
st_blocks: 1
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 0
S_ISFIFO: 0
S_ISREG: 1
S_ISLNK: 0
S_ISSOCK: 0

--stat DEVICE--
ret: 0
errno: 0
st_dev: 5
st_ino: 5
st_mode: 020777
st_nlink: 1
st_rdev: 5
st_size: 0
st_atime: 1200000000
st_mtime: 1200000000
st_ctime: 1200000000
st_blksize: 4096
st_blocks: 0
S_ISBLK: 0
S_ISCHR: 1
S_ISDIR: 0
S_ISFIFO: 0
S_ISREG: 0
S_ISLNK: 0
S_ISSOCK: 0

--stat LINK--
ret: 0
errno: 0
st_dev: 1
st_ino: 3
st_mode: 0100777
st_nlink: 1
st_rdev: 0
st_size: 6
st_atime: 1200000000
st_mtime: 1200000000
st_ctime: 1200000000
st_blksize: 4096
st_blocks: 1
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 0
S_ISFIFO: 0
S_ISREG: 1
S_ISLNK: 0
S_ISSOCK: 0

--lstat LINK--
ret: 0
errno: 0
st_dev: 1
st_ino: 4
st_mode: 0120777
st_nlink: 1
st_rdev: 0
st_size: 4
st_atime: 1200000000
st_mtime: 1200000000
st_ctime: 1200000000
st_blksize: 4096
st_blocks: 1
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 0
S_ISFIFO: 0
S_ISREG: 0
S_ISLNK: 1
S_ISSOCK: 0

--fstat FILE--
ret: 0
errno: 0
st_dev: 1
st_ino: 3
st_mode: 0100777
st_nlink: 1
st_rdev: 0
st_size: 6
st_atime: 1200000000
st_mtime: 1200000000
st_ctime: 1200000000
st_blksize: 4096
st_blocks: 1
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 0
S_ISFIFO: 0
S_ISREG: 1
S_ISLNK: 0
S_ISSOCK: 0

--chmod FILE--
ret: 0
errno: 0
st_mode: 0100222
st_mtime changed: 1

--fchmod FILE--
ret: 0
errno: 0
st_mode: 0100777
st_mtime changed: 1

--chmod FOLDER--
ret: 0
errno: 0
st_mode: 040555
st_mtime changed: 1

--chmod LINK--
ret: 0
errno: 0
st_mode: 0100000

--mkdir--
ret: 0
errno: 0
st_mode: 040777
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 1
S_ISFIFO: 0
S_ISREG: 0
S_ISLNK: 0
S_ISSOCK: 0

--mknod FILE--
ret: 0
errno: 0
st_mode: 0100777
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 0
S_ISFIFO: 0
S_ISREG: 1
S_ISLNK: 0
S_ISSOCK: 0

--mknod FOLDER--
ret: 0
errno: 0
st_mode: 040777
S_ISBLK: 0
S_ISCHR: 0
S_ISDIR: 1
S_ISFIFO: 0
S_ISREG: 0
S_ISLNK: 0
S_ISSOCK: 0

--mknod FIFO--
ret: -1
errno: 22

--mknod DEVICE--
ret: -1
errno: 22

--mkfifo--
ret: -1
errno: 30