source: rtems/testsuites/psxtests/psxstat/psxstat.scn @ c40d3c4b

4.11
Last change on this file since c40d3c4b was c40d3c4b, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 1, 2010 at 5:24:35 PM

2010-07-01 Vinu Rajashekhar <vinutheraj@…>

PR 1597/cpukit

  • psx13/psx13.scn, psx13/test.c, psxstat/psxstat.scn, psxstat/test.c: Add lchown() and utimes().
  • Property mode set to 100644
File size: 43.5 KB
Line 
1*** STAT TEST 01 ***
2--->Current Time:  - rtems_clock_get_tod - 09:00:00   12/31/1988
3Making directory /my_mount_point/dir1
4Making directory /my_mount_point/dir2
5Making directory /my_mount_point/dir3
6Making directory /my_mount_point/dir4
7Making directory /my_mount_point/dir1/dir1
8Making directory /./././my_mount_point/dir1/ dir1
9Making directory /./././my_mount_point/links
10Making directory ///my_mount_point/dir1/dir1/../../dir1/../symlinks/////
11
12Making file /////my_mount_point/dir1/\//file1\\//
13Making file /my_mount_point/dir1/file2
14Making file /my_mount_point/dir1/file3
15Making file /my_mount_point/dir1/file4
16Making file /my_mount_point/dir1/dir1/file1
17Making file ../../..//my_mount_point/dir1/./././dir1/ file1
18Making file main.c
19
20Making file dir1/dir1/../../links/dir1
21Making file links/dir2
22Making file links/dir3
23Making file links/dir4
24Making file links/dir1_dir1
25Making file links/dir1_ dir1
26Making file links/../links/../links/links
27
28Making file links/dir1_file1
29Making file links/dir1_file2
30Making file links/dir1_file3
31Making file links/dir1_file4
32Making file links/dir1_dir1_f1
33Making file links/dir1_dir1 f1
34
35Making file links/links/links/links_dir1
36Making file links//links_dir2
37Making file links//links_dir3
38Making file links//links_dir4
39Making file links//links_dir1_d1
40Making file links//links_dir1 d1
41Making file links//links_links
42
43Making file links///links_d1_file1
44Making file links///links_d1_file2
45Making file links///links_d1_file3
46Making file links///links_d1_file4
47Making file links///links_d1_d1_f1
48Making file links///links_r1_d1 f1
49
50Doing the stat() on all the good absolute paths
51stat( /my_mount_point/dev ) returned
52...st_dev     (0x0:0x0)
53...st_ino     2
54...st_mode    40700
55...st_nlink   1
56...st_uid     0
57...st_gid     0
58...st_rdev    (0x0:0x0)
59...st_size    0
60...st_atime   Sat Dec 31 09:00:00 1988
61...st_mtime   Sat Dec 31 09:00:00 1988
62...st_ctime   Sat Dec 31 09:00:00 1988
63...st_blksize 0
64...st_blocks  0
65stat( ////my_mount_point/dir1/\//file1\\// ) returned
66...st_dev     (0xfffe:0x1)
67...st_ino     b
68...st_mode    100004
69...st_nlink   3
70...st_uid     0
71...st_gid     0
72...st_rdev    (0x0:0x0)
73...st_size    0
74...st_atime   Sat Dec 31 09:00:00 1988
75...st_mtime   Sat Dec 31 09:00:00 1988
76...st_ctime   Sat Dec 31 09:00:10 1988
77...st_blksize 0
78...st_blocks  0
79stat( /my_mount_point/dir1/\\/file2 ) returned
80...st_dev     (0xfffe:0x1)
81...st_ino     c
82...st_mode    100004
83...st_nlink   3
84...st_uid     0
85...st_gid     0
86...st_rdev    (0x0:0x0)
87...st_size    0
88...st_atime   Sat Dec 31 09:00:00 1988
89...st_mtime   Sat Dec 31 09:00:00 1988
90...st_ctime   Sat Dec 31 09:00:10 1988
91...st_blksize 0
92...st_blocks  0
93stat( /my_mount_point/dir1/file3/////\\\ ) returned
94...st_dev     (0xfffe:0x1)
95...st_ino     d
96...st_mode    100004
97...st_nlink   3
98...st_uid     0
99...st_gid     0
100...st_rdev    (0x0:0x0)
101...st_size    0
102...st_atime   Sat Dec 31 09:00:00 1988
103...st_mtime   Sat Dec 31 09:00:00 1988
104...st_ctime   Sat Dec 31 09:00:10 1988
105...st_blksize 0
106...st_blocks  0
107stat( /my_mount_point/dir1/file4 ) returned
108...st_dev     (0xfffe:0x1)
109...st_ino     e
110...st_mode    100004
111...st_nlink   3
112...st_uid     0
113...st_gid     0
114...st_rdev    (0x0:0x0)
115...st_size    0
116...st_atime   Sat Dec 31 09:00:00 1988
117...st_mtime   Sat Dec 31 09:00:00 1988
118...st_ctime   Sat Dec 31 09:00:10 1988
119...st_blksize 0
120...st_blocks  0
121stat( /my_mount_point/dir1/dir1/file1 ) returned
122...st_dev     (0xfffe:0x1)
123...st_ino     f
124...st_mode    100004
125...st_nlink   3
126...st_uid     0
127...st_gid     0
128...st_rdev    (0x0:0x0)
129...st_size    0
130...st_atime   Sat Dec 31 09:00:00 1988
131...st_mtime   Sat Dec 31 09:00:00 1988
132...st_ctime   Sat Dec 31 09:00:10 1988
133...st_blksize 0
134...st_blocks  0
135stat( /my_mount_point/dir1/dir1/ file1 ) returned
136...st_dev     (0xfffe:0x1)
137...st_ino     10
138...st_mode    100004
139...st_nlink   3
140...st_uid     0
141...st_gid     0
142...st_rdev    (0x0:0x0)
143...st_size    0
144...st_atime   Sat Dec 31 09:00:00 1988
145...st_mtime   Sat Dec 31 09:00:00 1988
146...st_ctime   Sat Dec 31 09:00:10 1988
147...st_blksize 0
148...st_blocks  0
149stat( /my_mount_point/dir1 ) returned
150...st_dev     (0x0:0x0)
151...st_ino     3
152...st_mode    40700
153...st_nlink   3
154...st_uid     0
155...st_gid     0
156...st_rdev    (0x0:0x0)
157...st_size    3140
158...st_atime   Sat Dec 31 09:00:00 1988
159...st_mtime   Sat Dec 31 09:00:00 1988
160...st_ctime   Sat Dec 31 09:00:05 1988
161...st_blksize 0
162...st_blocks  0
163stat( /my_mount_point/dir2//////\ ) returned
164...st_dev     (0x0:0x0)
165...st_ino     4
166...st_mode    40700
167...st_nlink   3
168...st_uid     0
169...st_gid     0
170...st_rdev    (0x0:0x0)
171...st_size    0
172...st_atime   Sat Dec 31 09:00:00 1988
173...st_mtime   Sat Dec 31 09:00:00 1988
174...st_ctime   Sat Dec 31 09:00:05 1988
175...st_blksize 0
176...st_blocks  0
177stat( /my_mount_point/dir3 ) returned
178...st_dev     (0x0:0x0)
179...st_ino     5
180...st_mode    40700
181...st_nlink   3
182...st_uid     0
183...st_gid     0
184...st_rdev    (0x0:0x0)
185...st_size    0
186...st_atime   Sat Dec 31 09:00:00 1988
187...st_mtime   Sat Dec 31 09:00:00 1988
188...st_ctime   Sat Dec 31 09:00:05 1988
189...st_blksize 0
190...st_blocks  0
191stat( /my_mount_point/dir4 ) returned
192...st_dev     (0x0:0x0)
193...st_ino     6
194...st_mode    40700
195...st_nlink   3
196...st_uid     0
197...st_gid     0
198...st_rdev    (0x0:0x0)
199...st_size    0
200...st_atime   Sat Dec 31 09:00:00 1988
201...st_mtime   Sat Dec 31 09:00:00 1988
202...st_ctime   Sat Dec 31 09:00:05 1988
203...st_blksize 0
204...st_blocks  0
205stat( /my_mount_point/dir1/dir1 ) returned
206...st_dev     (0x0:0x0)
207...st_ino     7
208...st_mode    40700
209...st_nlink   3
210...st_uid     0
211...st_gid     0
212...st_rdev    (0x0:0x0)
213...st_size    1040
214...st_atime   Sat Dec 31 09:00:00 1988
215...st_mtime   Sat Dec 31 09:00:00 1988
216...st_ctime   Sat Dec 31 09:00:05 1988
217...st_blksize 0
218...st_blocks  0
219stat( /my_mount_point/dir1/ dir1///\\ ) returned
220...st_dev     (0x0:0x0)
221...st_ino     8
222...st_mode    40700
223...st_nlink   3
224...st_uid     0
225...st_gid     0
226...st_rdev    (0x0:0x0)
227...st_size    0
228...st_atime   Sat Dec 31 09:00:00 1988
229...st_mtime   Sat Dec 31 09:00:00 1988
230...st_ctime   Sat Dec 31 09:00:05 1988
231...st_blksize 0
232...st_blocks  0
233stat( /my_mount_point/\/\/\/\/\/\/links\/\/\/\/\/\ ) returned
234...st_dev     (0x0:0x0)
235...st_ino     9
236...st_mode    40700
237...st_nlink   3
238...st_uid     0
239...st_gid     0
240...st_rdev    (0x0:0x0)
241...st_size    15640
242...st_atime   Sat Dec 31 09:00:00 1988
243...st_mtime   Sat Dec 31 09:00:00 1988
244...st_ctime   Sat Dec 31 09:00:05 1988
245...st_blksize 0
246...st_blocks  0
247
248Doing the stat() on all the good relative paths
249stat( dev ) returned
250...st_dev     (0x0:0x0)
251...st_ino     2
252...st_mode    40700
253...st_nlink   1
254...st_uid     0
255...st_gid     0
256...st_rdev    (0x0:0x0)
257...st_size    0
258...st_atime   Sat Dec 31 09:00:00 1988
259...st_mtime   Sat Dec 31 09:00:00 1988
260...st_ctime   Sat Dec 31 09:00:00 1988
261...st_blksize 0
262...st_blocks  0
263stat( dir1/\//file1\\// ) returned
264...st_dev     (0xfffe:0x1)
265...st_ino     b
266...st_mode    100004
267...st_nlink   3
268...st_uid     0
269...st_gid     0
270...st_rdev    (0x0:0x0)
271...st_size    0
272...st_atime   Sat Dec 31 09:00:00 1988
273...st_mtime   Sat Dec 31 09:00:00 1988
274...st_ctime   Sat Dec 31 09:00:10 1988
275...st_blksize 0
276...st_blocks  0
277stat( dir1/\\/file2 ) returned
278...st_dev     (0xfffe:0x1)
279...st_ino     c
280...st_mode    100004
281...st_nlink   3
282...st_uid     0
283...st_gid     0
284...st_rdev    (0x0:0x0)
285...st_size    0
286...st_atime   Sat Dec 31 09:00:00 1988
287...st_mtime   Sat Dec 31 09:00:00 1988
288...st_ctime   Sat Dec 31 09:00:10 1988
289...st_blksize 0
290...st_blocks  0
291stat( dir1/file3/////\\\ ) returned
292...st_dev     (0xfffe:0x1)
293...st_ino     d
294...st_mode    100004
295...st_nlink   3
296...st_uid     0
297...st_gid     0
298...st_rdev    (0x0:0x0)
299...st_size    0
300...st_atime   Sat Dec 31 09:00:00 1988
301...st_mtime   Sat Dec 31 09:00:00 1988
302...st_ctime   Sat Dec 31 09:00:10 1988
303...st_blksize 0
304...st_blocks  0
305stat( dir1/file4 ) returned
306...st_dev     (0xfffe:0x1)
307...st_ino     e
308...st_mode    100004
309...st_nlink   3
310...st_uid     0
311...st_gid     0
312...st_rdev    (0x0:0x0)
313...st_size    0
314...st_atime   Sat Dec 31 09:00:00 1988
315...st_mtime   Sat Dec 31 09:00:00 1988
316...st_ctime   Sat Dec 31 09:00:10 1988
317...st_blksize 0
318...st_blocks  0
319stat( dir1/dir1/file1 ) returned
320...st_dev     (0xfffe:0x1)
321...st_ino     f
322...st_mode    100004
323...st_nlink   3
324...st_uid     0
325...st_gid     0
326...st_rdev    (0x0:0x0)
327...st_size    0
328...st_atime   Sat Dec 31 09:00:00 1988
329...st_mtime   Sat Dec 31 09:00:00 1988
330...st_ctime   Sat Dec 31 09:00:10 1988
331...st_blksize 0
332...st_blocks  0
333stat( dir1/dir1/ file1 ) returned
334...st_dev     (0xfffe:0x1)
335...st_ino     10
336...st_mode    100004
337...st_nlink   3
338...st_uid     0
339...st_gid     0
340...st_rdev    (0x0:0x0)
341...st_size    0
342...st_atime   Sat Dec 31 09:00:00 1988
343...st_mtime   Sat Dec 31 09:00:00 1988
344...st_ctime   Sat Dec 31 09:00:10 1988
345...st_blksize 0
346...st_blocks  0
347stat( dir1 ) returned
348...st_dev     (0x0:0x0)
349...st_ino     3
350...st_mode    40700
351...st_nlink   3
352...st_uid     0
353...st_gid     0
354...st_rdev    (0x0:0x0)
355...st_size    3140
356...st_atime   Sat Dec 31 09:00:00 1988
357...st_mtime   Sat Dec 31 09:00:00 1988
358...st_ctime   Sat Dec 31 09:00:05 1988
359...st_blksize 0
360...st_blocks  0
361stat( dir2//////\ ) returned
362...st_dev     (0x0:0x0)
363...st_ino     4
364...st_mode    40700
365...st_nlink   3
366...st_uid     0
367...st_gid     0
368...st_rdev    (0x0:0x0)
369...st_size    0
370...st_atime   Sat Dec 31 09:00:00 1988
371...st_mtime   Sat Dec 31 09:00:00 1988
372...st_ctime   Sat Dec 31 09:00:05 1988
373...st_blksize 0
374...st_blocks  0
375stat( dir3 ) returned
376...st_dev     (0x0:0x0)
377...st_ino     5
378...st_mode    40700
379...st_nlink   3
380...st_uid     0
381...st_gid     0
382...st_rdev    (0x0:0x0)
383...st_size    0
384...st_atime   Sat Dec 31 09:00:00 1988
385...st_mtime   Sat Dec 31 09:00:00 1988
386...st_ctime   Sat Dec 31 09:00:05 1988
387...st_blksize 0
388...st_blocks  0
389stat( dir4 ) returned
390...st_dev     (0x0:0x0)
391...st_ino     6
392...st_mode    40700
393...st_nlink   3
394...st_uid     0
395...st_gid     0
396...st_rdev    (0x0:0x0)
397...st_size    0
398...st_atime   Sat Dec 31 09:00:00 1988
399...st_mtime   Sat Dec 31 09:00:00 1988
400...st_ctime   Sat Dec 31 09:00:05 1988
401...st_blksize 0
402...st_blocks  0
403stat( dir1/dir1 ) returned
404...st_dev     (0x0:0x0)
405...st_ino     7
406...st_mode    40700
407...st_nlink   3
408...st_uid     0
409...st_gid     0
410...st_rdev    (0x0:0x0)
411...st_size    1040
412...st_atime   Sat Dec 31 09:00:00 1988
413...st_mtime   Sat Dec 31 09:00:00 1988
414...st_ctime   Sat Dec 31 09:00:05 1988
415...st_blksize 0
416...st_blocks  0
417stat( dir1/ dir1///\\ ) returned
418...st_dev     (0x0:0x0)
419...st_ino     8
420...st_mode    40700
421...st_nlink   3
422...st_uid     0
423...st_gid     0
424...st_rdev    (0x0:0x0)
425...st_size    0
426...st_atime   Sat Dec 31 09:00:00 1988
427...st_mtime   Sat Dec 31 09:00:00 1988
428...st_ctime   Sat Dec 31 09:00:05 1988
429...st_blksize 0
430...st_blocks  0
431stat( main.c ) returned
432...st_dev     (0xfffe:0x1)
433...st_ino     11
434...st_mode    100004
435...st_nlink   1
436...st_uid     0
437...st_gid     0
438...st_rdev    (0x0:0x0)
439...st_size    0
440...st_atime   Sat Dec 31 09:00:00 1988
441...st_mtime   Sat Dec 31 09:00:00 1988
442...st_ctime   Sat Dec 31 09:00:00 1988
443...st_blksize 0
444...st_blocks  0
445
446chdir to dev
447
448stat relative paths that are now bad
449stat( dev ) returned : No such file or directory
450stat( dir1/\//file1\\// ) returned : No such file or directory
451stat( dir1/\\/file2 ) returned : No such file or directory
452stat( dir1/file3/////\\\ ) returned : No such file or directory
453stat( dir1/file4 ) returned : No such file or directory
454stat( dir1/dir1/file1 ) returned : No such file or directory
455stat( dir1/dir1/ file1 ) returned : No such file or directory
456stat( dir1 ) returned : No such file or directory
457stat( dir2//////\ ) returned : No such file or directory
458stat( dir3 ) returned : No such file or directory
459stat( dir4 ) returned : No such file or directory
460stat( dir1/dir1 ) returned : No such file or directory
461stat( dir1/ dir1///\\ ) returned : No such file or directory
462stat( main.c ) returned : No such file or directory
463
464chdir to ../links
465Doing the stat() on good links
466
467stat( dir1/dir1/../../links/dir1 ) returned
468...st_dev     (0x0:0x0)
469...st_ino     3
470...st_mode    40700
471...st_nlink   3
472...st_uid     0
473...st_gid     0
474...st_rdev    (0x0:0x0)
475...st_size    3140
476...st_atime   Sat Dec 31 09:00:00 1988
477...st_mtime   Sat Dec 31 09:00:00 1988
478...st_ctime   Sat Dec 31 09:00:05 1988
479...st_blksize 0
480...st_blocks  0
481stat( links/dir2 ) returned
482...st_dev     (0x0:0x0)
483...st_ino     4
484...st_mode    40700
485...st_nlink   3
486...st_uid     0
487...st_gid     0
488...st_rdev    (0x0:0x0)
489...st_size    0
490...st_atime   Sat Dec 31 09:00:00 1988
491...st_mtime   Sat Dec 31 09:00:00 1988
492...st_ctime   Sat Dec 31 09:00:05 1988
493...st_blksize 0
494...st_blocks  0
495stat( links/dir3 ) returned
496...st_dev     (0x0:0x0)
497...st_ino     5
498...st_mode    40700
499...st_nlink   3
500...st_uid     0
501...st_gid     0
502...st_rdev    (0x0:0x0)
503...st_size    0
504...st_atime   Sat Dec 31 09:00:00 1988
505...st_mtime   Sat Dec 31 09:00:00 1988
506...st_ctime   Sat Dec 31 09:00:05 1988
507...st_blksize 0
508...st_blocks  0
509stat( links/dir4 ) returned
510...st_dev     (0x0:0x0)
511...st_ino     6
512...st_mode    40700
513...st_nlink   3
514...st_uid     0
515...st_gid     0
516...st_rdev    (0x0:0x0)
517...st_size    0
518...st_atime   Sat Dec 31 09:00:00 1988
519...st_mtime   Sat Dec 31 09:00:00 1988
520...st_ctime   Sat Dec 31 09:00:05 1988
521...st_blksize 0
522...st_blocks  0
523stat( links/dir1_dir1 ) returned
524...st_dev     (0x0:0x0)
525...st_ino     7
526...st_mode    40700
527...st_nlink   3
528...st_uid     0
529...st_gid     0
530...st_rdev    (0x0:0x0)
531...st_size    1040
532...st_atime   Sat Dec 31 09:00:00 1988
533...st_mtime   Sat Dec 31 09:00:00 1988
534...st_ctime   Sat Dec 31 09:00:05 1988
535...st_blksize 0
536...st_blocks  0
537stat( links/dir1_ dir1 ) returned
538...st_dev     (0x0:0x0)
539...st_ino     8
540...st_mode    40700
541...st_nlink   3
542...st_uid     0
543...st_gid     0
544...st_rdev    (0x0:0x0)
545...st_size    0
546...st_atime   Sat Dec 31 09:00:00 1988
547...st_mtime   Sat Dec 31 09:00:00 1988
548...st_ctime   Sat Dec 31 09:00:05 1988
549...st_blksize 0
550...st_blocks  0
551stat( links/../links/../links/links ) returned
552...st_dev     (0x0:0x0)
553...st_ino     9
554...st_mode    40700
555...st_nlink   3
556...st_uid     0
557...st_gid     0
558...st_rdev    (0x0:0x0)
559...st_size    15640
560...st_atime   Sat Dec 31 09:00:00 1988
561...st_mtime   Sat Dec 31 09:00:00 1988
562...st_ctime   Sat Dec 31 09:00:05 1988
563...st_blksize 0
564...st_blocks  0
565stat( links/dir1_file1 ) returned
566...st_dev     (0xfffe:0x1)
567...st_ino     b
568...st_mode    100004
569...st_nlink   3
570...st_uid     0
571...st_gid     0
572...st_rdev    (0x0:0x0)
573...st_size    0
574...st_atime   Sat Dec 31 09:00:00 1988
575...st_mtime   Sat Dec 31 09:00:00 1988
576...st_ctime   Sat Dec 31 09:00:10 1988
577...st_blksize 0
578...st_blocks  0
579stat( links/dir1_file2 ) returned
580...st_dev     (0xfffe:0x1)
581...st_ino     c
582...st_mode    100004
583...st_nlink   3
584...st_uid     0
585...st_gid     0
586...st_rdev    (0x0:0x0)
587...st_size    0
588...st_atime   Sat Dec 31 09:00:00 1988
589...st_mtime   Sat Dec 31 09:00:00 1988
590...st_ctime   Sat Dec 31 09:00:10 1988
591...st_blksize 0
592...st_blocks  0
593stat( links/dir1_file3 ) returned
594...st_dev     (0xfffe:0x1)
595...st_ino     d
596...st_mode    100004
597...st_nlink   3
598...st_uid     0
599...st_gid     0
600...st_rdev    (0x0:0x0)
601...st_size    0
602...st_atime   Sat Dec 31 09:00:00 1988
603...st_mtime   Sat Dec 31 09:00:00 1988
604...st_ctime   Sat Dec 31 09:00:10 1988
605...st_blksize 0
606...st_blocks  0
607stat( links/dir1_file4 ) returned
608...st_dev     (0xfffe:0x1)
609...st_ino     e
610...st_mode    100004
611...st_nlink   3
612...st_uid     0
613...st_gid     0
614...st_rdev    (0x0:0x0)
615...st_size    0
616...st_atime   Sat Dec 31 09:00:00 1988
617...st_mtime   Sat Dec 31 09:00:00 1988
618...st_ctime   Sat Dec 31 09:00:10 1988
619...st_blksize 0
620...st_blocks  0
621stat( links/dir1_dir1_f1 ) returned
622...st_dev     (0xfffe:0x1)
623...st_ino     f
624...st_mode    100004
625...st_nlink   3
626...st_uid     0
627...st_gid     0
628...st_rdev    (0x0:0x0)
629...st_size    0
630...st_atime   Sat Dec 31 09:00:00 1988
631...st_mtime   Sat Dec 31 09:00:00 1988
632...st_ctime   Sat Dec 31 09:00:10 1988
633...st_blksize 0
634...st_blocks  0
635stat( links/dir1_dir1 f1 ) returned
636...st_dev     (0xfffe:0x1)
637...st_ino     10
638...st_mode    100004
639...st_nlink   3
640...st_uid     0
641...st_gid     0
642...st_rdev    (0x0:0x0)
643...st_size    0
644...st_atime   Sat Dec 31 09:00:00 1988
645...st_mtime   Sat Dec 31 09:00:00 1988
646...st_ctime   Sat Dec 31 09:00:10 1988
647...st_blksize 0
648...st_blocks  0
649stat( links/links/links/links_dir1 ) returned
650...st_dev     (0x0:0x0)
651...st_ino     3
652...st_mode    40700
653...st_nlink   3
654...st_uid     0
655...st_gid     0
656...st_rdev    (0x0:0x0)
657...st_size    3140
658...st_atime   Sat Dec 31 09:00:00 1988
659...st_mtime   Sat Dec 31 09:00:00 1988
660...st_ctime   Sat Dec 31 09:00:05 1988
661...st_blksize 0
662...st_blocks  0
663stat( links//links_dir2 ) returned
664...st_dev     (0x0:0x0)
665...st_ino     4
666...st_mode    40700
667...st_nlink   3
668...st_uid     0
669...st_gid     0
670...st_rdev    (0x0:0x0)
671...st_size    0
672...st_atime   Sat Dec 31 09:00:00 1988
673...st_mtime   Sat Dec 31 09:00:00 1988
674...st_ctime   Sat Dec 31 09:00:05 1988
675...st_blksize 0
676...st_blocks  0
677stat( links//links_dir3 ) returned
678...st_dev     (0x0:0x0)
679...st_ino     5
680...st_mode    40700
681...st_nlink   3
682...st_uid     0
683...st_gid     0
684...st_rdev    (0x0:0x0)
685...st_size    0
686...st_atime   Sat Dec 31 09:00:00 1988
687...st_mtime   Sat Dec 31 09:00:00 1988
688...st_ctime   Sat Dec 31 09:00:05 1988
689...st_blksize 0
690...st_blocks  0
691stat( links//links_dir4 ) returned
692...st_dev     (0x0:0x0)
693...st_ino     6
694...st_mode    40700
695...st_nlink   3
696...st_uid     0
697...st_gid     0
698...st_rdev    (0x0:0x0)
699...st_size    0
700...st_atime   Sat Dec 31 09:00:00 1988
701...st_mtime   Sat Dec 31 09:00:00 1988
702...st_ctime   Sat Dec 31 09:00:05 1988
703...st_blksize 0
704...st_blocks  0
705stat( links//links_dir1_d1 ) returned
706...st_dev     (0x0:0x0)
707...st_ino     7
708...st_mode    40700
709...st_nlink   3
710...st_uid     0
711...st_gid     0
712...st_rdev    (0x0:0x0)
713...st_size    1040
714...st_atime   Sat Dec 31 09:00:00 1988
715...st_mtime   Sat Dec 31 09:00:00 1988
716...st_ctime   Sat Dec 31 09:00:05 1988
717...st_blksize 0
718...st_blocks  0
719stat( links//links_dir1 d1 ) returned
720...st_dev     (0x0:0x0)
721...st_ino     8
722...st_mode    40700
723...st_nlink   3
724...st_uid     0
725...st_gid     0
726...st_rdev    (0x0:0x0)
727...st_size    0
728...st_atime   Sat Dec 31 09:00:00 1988
729...st_mtime   Sat Dec 31 09:00:00 1988
730...st_ctime   Sat Dec 31 09:00:05 1988
731...st_blksize 0
732...st_blocks  0
733stat( links//links_links ) returned
734...st_dev     (0x0:0x0)
735...st_ino     9
736...st_mode    40700
737...st_nlink   3
738...st_uid     0
739...st_gid     0
740...st_rdev    (0x0:0x0)
741...st_size    15640
742...st_atime   Sat Dec 31 09:00:00 1988
743...st_mtime   Sat Dec 31 09:00:00 1988
744...st_ctime   Sat Dec 31 09:00:05 1988
745...st_blksize 0
746...st_blocks  0
747stat( links///links_d1_file1 ) returned
748...st_dev     (0xfffe:0x1)
749...st_ino     b
750...st_mode    100004
751...st_nlink   3
752...st_uid     0
753...st_gid     0
754...st_rdev    (0x0:0x0)
755...st_size    0
756...st_atime   Sat Dec 31 09:00:00 1988
757...st_mtime   Sat Dec 31 09:00:00 1988
758...st_ctime   Sat Dec 31 09:00:10 1988
759...st_blksize 0
760...st_blocks  0
761stat( links///links_d1_file2 ) returned
762...st_dev     (0xfffe:0x1)
763...st_ino     c
764...st_mode    100004
765...st_nlink   3
766...st_uid     0
767...st_gid     0
768...st_rdev    (0x0:0x0)
769...st_size    0
770...st_atime   Sat Dec 31 09:00:00 1988
771...st_mtime   Sat Dec 31 09:00:00 1988
772...st_ctime   Sat Dec 31 09:00:10 1988
773...st_blksize 0
774...st_blocks  0
775stat( links///links_d1_file3 ) returned
776...st_dev     (0xfffe:0x1)
777...st_ino     d
778...st_mode    100004
779...st_nlink   3
780...st_uid     0
781...st_gid     0
782...st_rdev    (0x0:0x0)
783...st_size    0
784...st_atime   Sat Dec 31 09:00:00 1988
785...st_mtime   Sat Dec 31 09:00:00 1988
786...st_ctime   Sat Dec 31 09:00:10 1988
787...st_blksize 0
788...st_blocks  0
789stat( links///links_d1_file4 ) returned
790...st_dev     (0xfffe:0x1)
791...st_ino     e
792...st_mode    100004
793...st_nlink   3
794...st_uid     0
795...st_gid     0
796...st_rdev    (0x0:0x0)
797...st_size    0
798...st_atime   Sat Dec 31 09:00:00 1988
799...st_mtime   Sat Dec 31 09:00:00 1988
800...st_ctime   Sat Dec 31 09:00:10 1988
801...st_blksize 0
802...st_blocks  0
803stat( links///links_d1_d1_f1 ) returned
804...st_dev     (0xfffe:0x1)
805...st_ino     f
806...st_mode    100004
807...st_nlink   3
808...st_uid     0
809...st_gid     0
810...st_rdev    (0x0:0x0)
811...st_size    0
812...st_atime   Sat Dec 31 09:00:00 1988
813...st_mtime   Sat Dec 31 09:00:00 1988
814...st_ctime   Sat Dec 31 09:00:10 1988
815...st_blksize 0
816...st_blocks  0
817stat( links///links_r1_d1 f1 ) returned
818...st_dev     (0xfffe:0x1)
819...st_ino     10
820...st_mode    100004
821...st_nlink   3
822...st_uid     0
823...st_gid     0
824...st_rdev    (0x0:0x0)
825...st_size    0
826...st_atime   Sat Dec 31 09:00:00 1988
827...st_mtime   Sat Dec 31 09:00:00 1988
828...st_ctime   Sat Dec 31 09:00:10 1988
829...st_blksize 0
830...st_blocks  0
831chmod of /my_mount_point/dir1/dir1 to Read/Write
832
833Doing the stat() on all the bad paths
834stat( /my_mount_point/links/ENAMETOOLONG__________________________ ) returned : File or path name too long
835stat( /my_mount_point/dir1/file4/NOTADIR ) returned : Not a directory
836stat( /my_mount_point/dir1/dir1/EACCES__ ) returned : Permission denied
837Making file /my_mount_point/links/ENAMETOOLONG__________________________ : File or path name too long
838Making file /my_mount_point/dir1/file4/NOTADIR : Not a directory
839Making file /my_mount_point/dir1/dir1/EACCES__ : Permission denied
840
841Return /my_mount_point/dir1/dir1 to RWX
842Making file /my_mount_point/symlinks/a_file_symlink
843Verify with readlink
844Making file /my_mount_point/symlinks/a_dir_symlink
845Verify with readlink
846Making file /my_mount_point/symlinks/a_link_symlink
847Verify with readlink
848Making file ../symlinks/no_file
849Verify with readlink
850Making file /my_mount_point/symlinks/a_dir_symlink/a_file_symlink
851Verify with readlink
852Making file /my_mount_point/symlinks/links
853Verify with readlink
854stat( /my_mount_point/symlinks/a_file_symlink ) returned
855...st_dev     (0xfffe:0x1)
856...st_ino     b
857...st_mode    100004
858...st_nlink   3
859...st_uid     0
860...st_gid     0
861...st_rdev    (0x0:0x0)
862...st_size    0
863...st_atime   Sat Dec 31 09:00:00 1988
864...st_mtime   Sat Dec 31 09:00:00 1988
865...st_ctime   Sat Dec 31 09:00:10 1988
866...st_blksize 0
867...st_blocks  0
868lstat( /my_mount_point/symlinks/a_file_symlink ) returned
869...st_dev     (0xfffe:0x1)
870...st_ino     2c
871...st_mode    120755
872...st_nlink   1
873...st_uid     0
874...st_gid     0
875...st_rdev    (0x0:0x0)
876...st_size    0
877...st_atime   Sat Dec 31 09:00:15 1988
878...st_mtime   Sat Dec 31 09:00:15 1988
879...st_ctime   Sat Dec 31 09:00:15 1988
880...st_blksize 0
881...st_blocks  0
882stat( /my_mount_point/symlinks/a_dir_symlink ) returned
883...st_dev     (0x0:0x0)
884...st_ino     3
885...st_mode    40700
886...st_nlink   3
887...st_uid     0
888...st_gid     0
889...st_rdev    (0x0:0x0)
890...st_size    3560
891...st_atime   Sat Dec 31 09:00:00 1988
892...st_mtime   Sat Dec 31 09:00:00 1988
893...st_ctime   Sat Dec 31 09:00:05 1988
894...st_blksize 0
895...st_blocks  0
896lstat( /my_mount_point/symlinks/a_dir_symlink ) returned
897...st_dev     (0xfffe:0x1)
898...st_ino     2d
899...st_mode    120755
900...st_nlink   1
901...st_uid     0
902...st_gid     0
903...st_rdev    (0x0:0x0)
904...st_size    0
905...st_atime   Sat Dec 31 09:00:15 1988
906...st_mtime   Sat Dec 31 09:00:15 1988
907...st_ctime   Sat Dec 31 09:00:15 1988
908...st_blksize 0
909...st_blocks  0
910stat( /my_mount_point/symlinks/a_link_symlink ) returned
911...st_dev     (0x0:0x0)
912...st_ino     3
913...st_mode    40700
914...st_nlink   3
915...st_uid     0
916...st_gid     0
917...st_rdev    (0x0:0x0)
918...st_size    3560
919...st_atime   Sat Dec 31 09:00:00 1988
920...st_mtime   Sat Dec 31 09:00:00 1988
921...st_ctime   Sat Dec 31 09:00:05 1988
922...st_blksize 0
923...st_blocks  0
924lstat( /my_mount_point/symlinks/a_link_symlink ) returned
925...st_dev     (0xfffe:0x1)
926...st_ino     2e
927...st_mode    120755
928...st_nlink   1
929...st_uid     0
930...st_gid     0
931...st_rdev    (0x0:0x0)
932...st_size    0
933...st_atime   Sat Dec 31 09:00:15 1988
934...st_mtime   Sat Dec 31 09:00:15 1988
935...st_ctime   Sat Dec 31 09:00:15 1988
936...st_blksize 0
937...st_blocks  0
938stat( ../symlinks/no_file ) returned : No such file or directory
939lstat( ../symlinks/no_file ) returned
940...st_dev     (0xfffe:0x1)
941...st_ino     2f
942...st_mode    120755
943...st_nlink   1
944...st_uid     0
945...st_gid     0
946...st_rdev    (0x0:0x0)
947...st_size    0
948...st_atime   Sat Dec 31 09:00:15 1988
949...st_mtime   Sat Dec 31 09:00:15 1988
950...st_ctime   Sat Dec 31 09:00:15 1988
951...st_blksize 0
952...st_blocks  0
953stat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
954...st_dev     (0x0:0x0)
955...st_ino     3
956...st_mode    40700
957...st_nlink   3
958...st_uid     0
959...st_gid     0
960...st_rdev    (0x0:0x0)
961...st_size    3560
962...st_atime   Sat Dec 31 09:00:00 1988
963...st_mtime   Sat Dec 31 09:00:00 1988
964...st_ctime   Sat Dec 31 09:00:05 1988
965...st_blksize 0
966...st_blocks  0
967lstat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
968...st_dev     (0xfffe:0x1)
969...st_ino     30
970...st_mode    120755
971...st_nlink   1
972...st_uid     0
973...st_gid     0
974...st_rdev    (0x0:0x0)
975...st_size    0
976...st_atime   Sat Dec 31 09:00:15 1988
977...st_mtime   Sat Dec 31 09:00:15 1988
978...st_ctime   Sat Dec 31 09:00:15 1988
979...st_blksize 0
980...st_blocks  0
981Making file 1
982Verify with readlink
983Making file 2
984Verify with readlink
985Making file 3
986Verify with readlink
987Making file 4
988Verify with readlink
989Making file 5
990Verify with readlink
991Making file 6
992Verify with readlink
993Making file 7
994Verify with readlink
995Making file 8
996Verify with readlink
997Making file 9
998Verify with readlink
999stat( 1 ) returned : No such file or directory
1000lstat( 1 ) returned
1001...st_dev     (0xfffe:0x1)
1002...st_ino     32
1003...st_mode    120755
1004...st_nlink   1
1005...st_uid     0
1006...st_gid     0
1007...st_rdev    (0x0:0x0)
1008...st_size    0
1009...st_atime   Sat Dec 31 09:00:15 1988
1010...st_mtime   Sat Dec 31 09:00:15 1988
1011...st_ctime   Sat Dec 31 09:00:15 1988
1012...st_blksize 0
1013...st_blocks  0
1014stat( 2 ) returned : No such file or directory
1015lstat( 2 ) returned
1016...st_dev     (0xfffe:0x1)
1017...st_ino     33
1018...st_mode    120755
1019...st_nlink   1
1020...st_uid     0
1021...st_gid     0
1022...st_rdev    (0x0:0x0)
1023...st_size    0
1024...st_atime   Sat Dec 31 09:00:15 1988
1025...st_mtime   Sat Dec 31 09:00:15 1988
1026...st_ctime   Sat Dec 31 09:00:15 1988
1027...st_blksize 0
1028...st_blocks  0
1029stat( 3 ) returned : No such file or directory
1030lstat( 3 ) returned
1031...st_dev     (0xfffe:0x1)
1032...st_ino     34
1033...st_mode    120755
1034...st_nlink   1
1035...st_uid     0
1036...st_gid     0
1037...st_rdev    (0x0:0x0)
1038...st_size    0
1039...st_atime   Sat Dec 31 09:00:15 1988
1040...st_mtime   Sat Dec 31 09:00:15 1988
1041...st_ctime   Sat Dec 31 09:00:15 1988
1042...st_blksize 0
1043...st_blocks  0
1044stat( 4 ) returned : No such file or directory
1045lstat( 4 ) returned
1046...st_dev     (0xfffe:0x1)
1047...st_ino     35
1048...st_mode    120755
1049...st_nlink   1
1050...st_uid     0
1051...st_gid     0
1052...st_rdev    (0x0:0x0)
1053...st_size    0
1054...st_atime   Sat Dec 31 09:00:15 1988
1055...st_mtime   Sat Dec 31 09:00:15 1988
1056...st_ctime   Sat Dec 31 09:00:15 1988
1057...st_blksize 0
1058...st_blocks  0
1059stat( 5 ) returned : No such file or directory
1060lstat( 5 ) returned
1061...st_dev     (0xfffe:0x1)
1062...st_ino     36
1063...st_mode    120755
1064...st_nlink   1
1065...st_uid     0
1066...st_gid     0
1067...st_rdev    (0x0:0x0)
1068...st_size    0
1069...st_atime   Sat Dec 31 09:00:15 1988
1070...st_mtime   Sat Dec 31 09:00:15 1988
1071...st_ctime   Sat Dec 31 09:00:15 1988
1072...st_blksize 0
1073...st_blocks  0
1074stat( 6 ) returned : Too many symbolic links
1075lstat( 6 ) returned
1076...st_dev     (0xfffe:0x1)
1077...st_ino     37
1078...st_mode    120755
1079...st_nlink   1
1080...st_uid     0
1081...st_gid     0
1082...st_rdev    (0x0:0x0)
1083...st_size    0
1084...st_atime   Sat Dec 31 09:00:15 1988
1085...st_mtime   Sat Dec 31 09:00:15 1988
1086...st_ctime   Sat Dec 31 09:00:15 1988
1087...st_blksize 0
1088...st_blocks  0
1089stat( 7 ) returned : Too many symbolic links
1090lstat( 7 ) returned
1091...st_dev     (0xfffe:0x1)
1092...st_ino     38
1093...st_mode    120755
1094...st_nlink   1
1095...st_uid     0
1096...st_gid     0
1097...st_rdev    (0x0:0x0)
1098...st_size    0
1099...st_atime   Sat Dec 31 09:00:15 1988
1100...st_mtime   Sat Dec 31 09:00:15 1988
1101...st_ctime   Sat Dec 31 09:00:15 1988
1102...st_blksize 0
1103...st_blocks  0
1104stat( 8 ) returned : Too many symbolic links
1105lstat( 8 ) returned
1106...st_dev     (0xfffe:0x1)
1107...st_ino     39
1108...st_mode    120755
1109...st_nlink   1
1110...st_uid     0
1111...st_gid     0
1112...st_rdev    (0x0:0x0)
1113...st_size    0
1114...st_atime   Sat Dec 31 09:00:15 1988
1115...st_mtime   Sat Dec 31 09:00:15 1988
1116...st_ctime   Sat Dec 31 09:00:15 1988
1117...st_blksize 0
1118...st_blocks  0
1119stat( 9 ) returned : Too many symbolic links
1120lstat( 9 ) returned
1121...st_dev     (0xfffe:0x1)
1122...st_ino     3a
1123...st_mode    120755
1124...st_nlink   1
1125...st_uid     0
1126...st_gid     0
1127...st_rdev    (0x0:0x0)
1128...st_size    0
1129...st_atime   Sat Dec 31 09:00:15 1988
1130...st_mtime   Sat Dec 31 09:00:15 1988
1131...st_ctime   Sat Dec 31 09:00:15 1988
1132...st_blksize 0
1133...st_blocks  0
1134chdir to a file should fail with ENOTDIR
1135Verify RWX permission on /my_mount_point/dir1 via access
1136chmod of /my_mount_point/dir1 to Read/Write
1137chmod fred should fail with ENOENT
1138Create under /my_mount_point/dir1 should fail with EACCES
1139chdir to /my_mount_point/dir1/dir1 should fail with EACCES
1140Stat with a NULL buffer should fail with EFAULT
1141
1142
1143chmod of /my_mount_point/dir1 to Read/Write
1144mkdir /my_mount_point/dir1/BADNAME should fail with EACCESS
1145
1146/my_mount_point/dir1 Should exist ( access )
1147
1148/my_mount_point/dir1 Should have read  permission( access )
1149
1150/my_mount_point/dir1 Should have write permission( access )
1151
1152/my_mount_point/dir1 Should not have execute permission( access )
1153
1154Restore /my_mount_point/dir1 to RWX
1155chdir to /my_mount_point
1156Remove /./././my_mount_point/dir1/ dir1
1157stat( /./././my_mount_point/dir1/ dir1 ) returned : No such file or directory
1158stat( links/dir1_ dir1 ) returned
1159...st_dev     (0x0:0x0)
1160...st_ino     8
1161...st_mode    40700
1162...st_nlink   2
1163...st_uid     0
1164...st_gid     0
1165...st_rdev    (0x0:0x0)
1166...st_size    0
1167...st_atime   Sat Dec 31 09:00:00 1988
1168...st_mtime   Sat Dec 31 09:00:00 1988
1169...st_ctime   Sat Dec 31 09:00:20 1988
1170...st_blksize 0
1171...st_blocks  0
1172stat( links//links_dir1 d1 ) returned
1173...st_dev     (0x0:0x0)
1174...st_ino     8
1175...st_mode    40700
1176...st_nlink   2
1177...st_uid     0
1178...st_gid     0
1179...st_rdev    (0x0:0x0)
1180...st_size    0
1181...st_atime   Sat Dec 31 09:00:00 1988
1182...st_mtime   Sat Dec 31 09:00:00 1988
1183...st_ctime   Sat Dec 31 09:00:20 1988
1184...st_blksize 0
1185...st_blocks  0
1186Chdir to links/dir1_ dir1
1187Chdir to .. should fail with ENOENT
1188mkdir ../t should fail with ENOENT
1189mkdir t
1190chdir to /my_mount_point
1191rmdir links/dir1_ dir1 should fail with ENOTDIR
1192unlink links/dir1_ dir1
1193unlink links//links_dir1 d1 should fail with ENOTEMPTY
1194rmdir links//links_dir1 d1/t
1195unlink links/dir1_ dir1
1196Attempting to mount IMFS file system at /dir1/my_mount_point
1197rmdir /dir1/my_mount_point should fail with EBUSY
1198Unmount /my_mount_point/dir1/my_mount_point
1199chmod of /////my_mount_point/dir1/\//file1\\// to group and other execute
1200Open /////my_mount_point/dir1/\//file1\\// for write should fail with EACCES
1201chmod of /my_mount_point/dir4 to User Execute and Read
1202Mkdir of /my_mount_point/dir4/NewFile should fail with EACCES
1203Making too many hard links.
1204Making file /LinkName1
1205Making file /LinkName2
1206Making file /LinkName3
1207Making file /LinkName4
1208Making file /LinkName5
1209Making file /LinkName6
1210Making file /LinkName7
1211Making file /LinkName8
1212pass fstat a null pointer should fail with EFAULT
1213chdir to /my_mount_point
1214Change group of /////my_mount_point/dir1/\//file1\\//
1215stat( /////my_mount_point/dir1/\//file1\\// ) returned
1216...st_dev     (0xfffe:0x1)
1217...st_ino     b
1218...st_mode    100011
1219...st_nlink   3
1220...st_uid     0
1221...st_gid     1
1222...st_rdev    (0x0:0x0)
1223...st_size    0
1224...st_atime   Sat Dec 31 09:00:00 1988
1225...st_mtime   Sat Dec 31 09:00:00 1988
1226...st_ctime   Sat Dec 31 09:00:25 1988
1227...st_blksize 0
1228...st_blocks  0
1229Change owner of /////my_mount_point/dir1/\//file1\\//
1230stat( /////my_mount_point/dir1/\//file1\\// ) returned
1231...st_dev     (0xfffe:0x1)
1232...st_ino     b
1233...st_mode    100011
1234...st_nlink   3
1235...st_uid     1
1236...st_gid     0
1237...st_rdev    (0x0:0x0)
1238...st_size    0
1239...st_atime   Sat Dec 31 09:00:00 1988
1240...st_mtime   Sat Dec 31 09:00:00 1988
1241...st_ctime   Sat Dec 31 09:00:25 1988
1242...st_blksize 0
1243...st_blocks  0
1244Change group of /my_mount_point/dir1/file2
1245stat( /my_mount_point/dir1/file2 ) returned
1246...st_dev     (0xfffe:0x1)
1247...st_ino     c
1248...st_mode    100004
1249...st_nlink   3
1250...st_uid     0
1251...st_gid     1
1252...st_rdev    (0x0:0x0)
1253...st_size    0
1254...st_atime   Sat Dec 31 09:00:00 1988
1255...st_mtime   Sat Dec 31 09:00:00 1988
1256...st_ctime   Sat Dec 31 09:00:25 1988
1257...st_blksize 0
1258...st_blocks  0
1259Change owner of /my_mount_point/dir1/file2
1260stat( /my_mount_point/dir1/file2 ) returned
1261...st_dev     (0xfffe:0x1)
1262...st_ino     c
1263...st_mode    100004
1264...st_nlink   3
1265...st_uid     1
1266...st_gid     0
1267...st_rdev    (0x0:0x0)
1268...st_size    0
1269...st_atime   Sat Dec 31 09:00:00 1988
1270...st_mtime   Sat Dec 31 09:00:00 1988
1271...st_ctime   Sat Dec 31 09:00:25 1988
1272...st_blksize 0
1273...st_blocks  0
1274Change group of /my_mount_point/dir1/file3
1275stat( /my_mount_point/dir1/file3 ) returned
1276...st_dev     (0xfffe:0x1)
1277...st_ino     d
1278...st_mode    100004
1279...st_nlink   3
1280...st_uid     0
1281...st_gid     1
1282...st_rdev    (0x0:0x0)
1283...st_size    0
1284...st_atime   Sat Dec 31 09:00:00 1988
1285...st_mtime   Sat Dec 31 09:00:00 1988
1286...st_ctime   Sat Dec 31 09:00:25 1988
1287...st_blksize 0
1288...st_blocks  0
1289Change owner of /my_mount_point/dir1/file3
1290stat( /my_mount_point/dir1/file3 ) returned
1291...st_dev     (0xfffe:0x1)
1292...st_ino     d
1293...st_mode    100004
1294...st_nlink   3
1295...st_uid     1
1296...st_gid     0
1297...st_rdev    (0x0:0x0)
1298...st_size    0
1299...st_atime   Sat Dec 31 09:00:00 1988
1300...st_mtime   Sat Dec 31 09:00:00 1988
1301...st_ctime   Sat Dec 31 09:00:25 1988
1302...st_blksize 0
1303...st_blocks  0
1304Change group of /my_mount_point/dir1/file4
1305stat( /my_mount_point/dir1/file4 ) returned
1306...st_dev     (0xfffe:0x1)
1307...st_ino     e
1308...st_mode    100004
1309...st_nlink   3
1310...st_uid     0
1311...st_gid     1
1312...st_rdev    (0x0:0x0)
1313...st_size    0
1314...st_atime   Sat Dec 31 09:00:00 1988
1315...st_mtime   Sat Dec 31 09:00:00 1988
1316...st_ctime   Sat Dec 31 09:00:25 1988
1317...st_blksize 0
1318...st_blocks  0
1319Change owner of /my_mount_point/dir1/file4
1320stat( /my_mount_point/dir1/file4 ) returned
1321...st_dev     (0xfffe:0x1)
1322...st_ino     e
1323...st_mode    100004
1324...st_nlink   3
1325...st_uid     1
1326...st_gid     0
1327...st_rdev    (0x0:0x0)
1328...st_size    0
1329...st_atime   Sat Dec 31 09:00:00 1988
1330...st_mtime   Sat Dec 31 09:00:00 1988
1331...st_ctime   Sat Dec 31 09:00:25 1988
1332...st_blksize 0
1333...st_blocks  0
1334Change group of /my_mount_point/dir1/dir1/file1
1335stat( /my_mount_point/dir1/dir1/file1 ) returned
1336...st_dev     (0xfffe:0x1)
1337...st_ino     f
1338...st_mode    100004
1339...st_nlink   3
1340...st_uid     0
1341...st_gid     1
1342...st_rdev    (0x0:0x0)
1343...st_size    0
1344...st_atime   Sat Dec 31 09:00:00 1988
1345...st_mtime   Sat Dec 31 09:00:00 1988
1346...st_ctime   Sat Dec 31 09:00:25 1988
1347...st_blksize 0
1348...st_blocks  0
1349Change owner of /my_mount_point/dir1/dir1/file1
1350stat( /my_mount_point/dir1/dir1/file1 ) returned
1351...st_dev     (0xfffe:0x1)
1352...st_ino     f
1353...st_mode    100004
1354...st_nlink   3
1355...st_uid     1
1356...st_gid     0
1357...st_rdev    (0x0:0x0)
1358...st_size    0
1359...st_atime   Sat Dec 31 09:00:00 1988
1360...st_mtime   Sat Dec 31 09:00:00 1988
1361...st_ctime   Sat Dec 31 09:00:25 1988
1362...st_blksize 0
1363...st_blocks  0
1364Change group of ../../..//my_mount_point/dir1/./././dir1/ file1
1365stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
1366...st_dev     (0xfffe:0x1)
1367...st_ino     10
1368...st_mode    100004
1369...st_nlink   3
1370...st_uid     0
1371...st_gid     1
1372...st_rdev    (0x0:0x0)
1373...st_size    0
1374...st_atime   Sat Dec 31 09:00:00 1988
1375...st_mtime   Sat Dec 31 09:00:00 1988
1376...st_ctime   Sat Dec 31 09:00:25 1988
1377...st_blksize 0
1378...st_blocks  0
1379Change owner of ../../..//my_mount_point/dir1/./././dir1/ file1
1380stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
1381...st_dev     (0xfffe:0x1)
1382...st_ino     10
1383...st_mode    100004
1384...st_nlink   3
1385...st_uid     1
1386...st_gid     0
1387...st_rdev    (0x0:0x0)
1388...st_size    0
1389...st_atime   Sat Dec 31 09:00:00 1988
1390...st_mtime   Sat Dec 31 09:00:00 1988
1391...st_ctime   Sat Dec 31 09:00:25 1988
1392...st_blksize 0
1393...st_blocks  0
1394Change group of main.c
1395stat( main.c ) returned
1396...st_dev     (0xfffe:0x1)
1397...st_ino     11
1398...st_mode    100004
1399...st_nlink   1
1400...st_uid     0
1401...st_gid     1
1402...st_rdev    (0x0:0x0)
1403...st_size    0
1404...st_atime   Sat Dec 31 09:00:00 1988
1405...st_mtime   Sat Dec 31 09:00:00 1988
1406...st_ctime   Sat Dec 31 09:00:25 1988
1407...st_blksize 0
1408...st_blocks  0
1409Change owner of main.c
1410stat( main.c ) returned
1411...st_dev     (0xfffe:0x1)
1412...st_ino     11
1413...st_mode    100004
1414...st_nlink   1
1415...st_uid     1
1416...st_gid     0
1417...st_rdev    (0x0:0x0)
1418...st_size    0
1419...st_atime   Sat Dec 31 09:00:00 1988
1420...st_mtime   Sat Dec 31 09:00:00 1988
1421...st_ctime   Sat Dec 31 09:00:25 1988
1422...st_blksize 0
1423...st_blocks  0
1424Change group of dir1/dir1/../../links/dir1
1425stat( dir1/dir1/../../links/dir1 ) returned
1426...st_dev     (0x0:0x0)
1427...st_ino     3
1428...st_mode    40700
1429...st_nlink   3
1430...st_uid     0
1431...st_gid     1
1432...st_rdev    (0x0:0x0)
1433...st_size    3560
1434...st_atime   Sat Dec 31 09:00:00 1988
1435...st_mtime   Sat Dec 31 09:00:00 1988
1436...st_ctime   Sat Dec 31 09:00:30 1988
1437...st_blksize 0
1438...st_blocks  0
1439Change owner of dir1/dir1/../../links/dir1
1440stat( dir1/dir1/../../links/dir1 ) returned : Permission denied
1441Change group of links/dir2
1442stat( links/dir2 ) returned
1443...st_dev     (0x0:0x0)
1444...st_ino     4
1445...st_mode    40700
1446...st_nlink   3
1447...st_uid     0
1448...st_gid     1
1449...st_rdev    (0x0:0x0)
1450...st_size    0
1451...st_atime   Sat Dec 31 09:00:00 1988
1452...st_mtime   Sat Dec 31 09:00:00 1988
1453...st_ctime   Sat Dec 31 09:00:30 1988
1454...st_blksize 0
1455...st_blocks  0
1456Change owner of links/dir2
1457stat( links/dir2 ) returned
1458...st_dev     (0x0:0x0)
1459...st_ino     4
1460...st_mode    40700
1461...st_nlink   3
1462...st_uid     1
1463...st_gid     0
1464...st_rdev    (0x0:0x0)
1465...st_size    0
1466...st_atime   Sat Dec 31 09:00:00 1988
1467...st_mtime   Sat Dec 31 09:00:00 1988
1468...st_ctime   Sat Dec 31 09:00:30 1988
1469...st_blksize 0
1470...st_blocks  0
1471Change group of links/dir3
1472stat( links/dir3 ) returned
1473...st_dev     (0x0:0x0)
1474...st_ino     5
1475...st_mode    40700
1476...st_nlink   3
1477...st_uid     0
1478...st_gid     1
1479...st_rdev    (0x0:0x0)
1480...st_size    0
1481...st_atime   Sat Dec 31 09:00:00 1988
1482...st_mtime   Sat Dec 31 09:00:00 1988
1483...st_ctime   Sat Dec 31 09:00:30 1988
1484...st_blksize 0
1485...st_blocks  0
1486Change owner of links/dir3
1487stat( links/dir3 ) returned
1488...st_dev     (0x0:0x0)
1489...st_ino     5
1490...st_mode    40700
1491...st_nlink   3
1492...st_uid     1
1493...st_gid     0
1494...st_rdev    (0x0:0x0)
1495...st_size    0
1496...st_atime   Sat Dec 31 09:00:00 1988
1497...st_mtime   Sat Dec 31 09:00:00 1988
1498...st_ctime   Sat Dec 31 09:00:30 1988
1499...st_blksize 0
1500...st_blocks  0
1501Change group of links/dir4
1502stat( links/dir4 ) returned
1503...st_dev     (0x0:0x0)
1504...st_ino     6
1505...st_mode    40500
1506...st_nlink   3
1507...st_uid     0
1508...st_gid     1
1509...st_rdev    (0x0:0x0)
1510...st_size    0
1511...st_atime   Sat Dec 31 09:00:00 1988
1512...st_mtime   Sat Dec 31 09:00:00 1988
1513...st_ctime   Sat Dec 31 09:00:30 1988
1514...st_blksize 0
1515...st_blocks  0
1516Change owner of links/dir4
1517stat( links/dir4 ) returned
1518...st_dev     (0x0:0x0)
1519...st_ino     6
1520...st_mode    40500
1521...st_nlink   3
1522...st_uid     1
1523...st_gid     0
1524...st_rdev    (0x0:0x0)
1525...st_size    0
1526...st_atime   Sat Dec 31 09:00:00 1988
1527...st_mtime   Sat Dec 31 09:00:00 1988
1528...st_ctime   Sat Dec 31 09:00:30 1988
1529...st_blksize 0
1530...st_blocks  0
1531Change group of links/dir1_dir1
1532stat( links/dir1_dir1 ) returned
1533...st_dev     (0x0:0x0)
1534...st_ino     7
1535...st_mode    40700
1536...st_nlink   3
1537...st_uid     0
1538...st_gid     1
1539...st_rdev    (0x0:0x0)
1540...st_size    1040
1541...st_atime   Sat Dec 31 09:00:00 1988
1542...st_mtime   Sat Dec 31 09:00:00 1988
1543...st_ctime   Sat Dec 31 09:00:30 1988
1544...st_blksize 0
1545...st_blocks  0
1546Change owner of links/dir1_dir1
1547stat( links/dir1_dir1 ) returned
1548...st_dev     (0x0:0x0)
1549...st_ino     7
1550...st_mode    40700
1551...st_nlink   3
1552...st_uid     1
1553...st_gid     0
1554...st_rdev    (0x0:0x0)
1555...st_size    1040
1556...st_atime   Sat Dec 31 09:00:00 1988
1557...st_mtime   Sat Dec 31 09:00:00 1988
1558...st_ctime   Sat Dec 31 09:00:30 1988
1559...st_blksize 0
1560...st_blocks  0
1561Change group of links/dir1_ dir1
1562stat( links/dir1_ dir1 ) returned : No such file or directory
1563Change owner of links/dir1_ dir1
1564stat( links/dir1_ dir1 ) returned : No such file or directory
1565Change group of links/../links/../links/links
1566stat( links/../links/../links/links ) returned
1567...st_dev     (0x0:0x0)
1568...st_ino     9
1569...st_mode    40700
1570...st_nlink   3
1571...st_uid     0
1572...st_gid     1
1573...st_rdev    (0x0:0x0)
1574...st_size    21420
1575...st_atime   Sat Dec 31 09:00:00 1988
1576...st_mtime   Sat Dec 31 09:00:00 1988
1577...st_ctime   Sat Dec 31 09:00:30 1988
1578...st_blksize 0
1579...st_blocks  0
1580Change owner of links/../links/../links/links
1581stat( links/../links/../links/links ) returned : Permission denied
1582Change group of /my_mount_point/symlinks/a_file_symlink
1583lstat( /my_mount_point/symlinks/a_file_symlink ) returned
1584...st_dev     (0xfffe:0x1)
1585...st_ino     2c
1586...st_mode    120755
1587...st_nlink   1
1588...st_uid     0
1589...st_gid     1
1590...st_rdev    (0x0:0x0)
1591...st_size    0
1592...st_atime   Sat Dec 31 09:00:15 1988
1593...st_mtime   Sat Dec 31 09:00:15 1988
1594...st_ctime   Sat Dec 31 09:00:35 1988
1595...st_blksize 0
1596...st_blocks  0
1597Change owner of /my_mount_point/symlinks/a_file_symlink
1598lstat( /my_mount_point/symlinks/a_file_symlink ) returned
1599...st_dev     (0xfffe:0x1)
1600...st_ino     2c
1601...st_mode    120755
1602...st_nlink   1
1603...st_uid     1
1604...st_gid     0
1605...st_rdev    (0x0:0x0)
1606...st_size    0
1607...st_atime   Sat Dec 31 09:00:15 1988
1608...st_mtime   Sat Dec 31 09:00:15 1988
1609...st_ctime   Sat Dec 31 09:00:35 1988
1610...st_blksize 0
1611...st_blocks  0
1612Change group of /my_mount_point/symlinks/a_dir_symlink
1613lstat( /my_mount_point/symlinks/a_dir_symlink ) returned
1614...st_dev     (0xfffe:0x1)
1615...st_ino     2d
1616...st_mode    120755
1617...st_nlink   1
1618...st_uid     0
1619...st_gid     1
1620...st_rdev    (0x0:0x0)
1621...st_size    0
1622...st_atime   Sat Dec 31 09:00:15 1988
1623...st_mtime   Sat Dec 31 09:00:15 1988
1624...st_ctime   Sat Dec 31 09:00:35 1988
1625...st_blksize 0
1626...st_blocks  0
1627Change owner of /my_mount_point/symlinks/a_dir_symlink
1628lstat( /my_mount_point/symlinks/a_dir_symlink ) returned
1629...st_dev     (0xfffe:0x1)
1630...st_ino     2d
1631...st_mode    120755
1632...st_nlink   1
1633...st_uid     1
1634...st_gid     0
1635...st_rdev    (0x0:0x0)
1636...st_size    0
1637...st_atime   Sat Dec 31 09:00:15 1988
1638...st_mtime   Sat Dec 31 09:00:15 1988
1639...st_ctime   Sat Dec 31 09:00:35 1988
1640...st_blksize 0
1641...st_blocks  0
1642Change group of /my_mount_point/symlinks/a_link_symlink
1643lstat( /my_mount_point/symlinks/a_link_symlink ) returned
1644...st_dev     (0xfffe:0x1)
1645...st_ino     2e
1646...st_mode    120755
1647...st_nlink   1
1648...st_uid     0
1649...st_gid     1
1650...st_rdev    (0x0:0x0)
1651...st_size    0
1652...st_atime   Sat Dec 31 09:00:15 1988
1653...st_mtime   Sat Dec 31 09:00:15 1988
1654...st_ctime   Sat Dec 31 09:00:35 1988
1655...st_blksize 0
1656...st_blocks  0
1657Change owner of /my_mount_point/symlinks/a_link_symlink
1658lstat( /my_mount_point/symlinks/a_link_symlink ) returned
1659...st_dev     (0xfffe:0x1)
1660...st_ino     2e
1661...st_mode    120755
1662...st_nlink   1
1663...st_uid     1
1664...st_gid     0
1665...st_rdev    (0x0:0x0)
1666...st_size    0
1667...st_atime   Sat Dec 31 09:00:15 1988
1668...st_mtime   Sat Dec 31 09:00:15 1988
1669...st_ctime   Sat Dec 31 09:00:35 1988
1670...st_blksize 0
1671...st_blocks  0
1672Change group of ../symlinks/no_file
1673lstat( ../symlinks/no_file ) returned : No such file or directory
1674Change owner of ../symlinks/no_file
1675lstat( ../symlinks/no_file ) returned : No such file or directory
1676Change group of /my_mount_point/symlinks/a_dir_symlink/a_file_symlink
1677lstat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
1678...st_dev     (0xfffe:0x1)
1679...st_ino     30
1680...st_mode    120755
1681...st_nlink   1
1682...st_uid     0
1683...st_gid     1
1684...st_rdev    (0x0:0x0)
1685...st_size    0
1686...st_atime   Sat Dec 31 09:00:15 1988
1687...st_mtime   Sat Dec 31 09:00:15 1988
1688...st_ctime   Sat Dec 31 09:00:35 1988
1689...st_blksize 0
1690...st_blocks  0
1691Change owner of /my_mount_point/symlinks/a_dir_symlink/a_file_symlink
1692lstat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
1693...st_dev     (0xfffe:0x1)
1694...st_ino     30
1695...st_mode    120755
1696...st_nlink   1
1697...st_uid     1
1698...st_gid     0
1699...st_rdev    (0x0:0x0)
1700...st_size    0
1701...st_atime   Sat Dec 31 09:00:15 1988
1702...st_mtime   Sat Dec 31 09:00:15 1988
1703...st_ctime   Sat Dec 31 09:00:35 1988
1704...st_blksize 0
1705...st_blocks  0
1706
1707
1708*** END OF STAT TEST 01 ***
Note: See TracBrowser for help on using the repository browser.