Changeset f9879915 in rtems


Ignore:
Timestamp:
Nov 16, 1999, 3:41:29 PM (20 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
fa3346f
Parents:
e9b00d7
Message:

Modified output file to match seen output. Added comment to all ino
values that they may change slightly on a processor basis.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psxstat/psxstat.scn

    re9b00d7 rf9879915  
    1111Making directory /./././links
    1212Making directory ///dir1/dir1/../../dir1/../symlinks/////
    13 
    14 Making file ////dir1/\//file1\\//
     13Making file ////dir1///file1\//
    1514Making file /dir1/file2
    1615Making file /dir1/file3
     
    1918Making file ../../..//dir1/./././dir1/ file1
    2019Making file main.c
    21 
    2220Making file dir1/dir1/../../links/dir1
    2321Making file links/dir2
     
    2725Making file links/dir1_ dir1
    2826Making file links/../links/../links/links
    29 
    3027Making file links/dir1_file1
    3128Making file links/dir1_file2
     
    3431Making file links/dir1_dir1_f1
    3532Making file links/dir1_dir1 f1
    36 
    3733Making file links/links/links/links_dir1
    3834Making file links//links_dir2
     
    4238Making file links//links_dir1 d1
    4339Making file links//links_links
    44 
    4540Making file links///links_d1_file1
    4641Making file links///links_d1_file2
     
    4944Making file links///links_d1_d1_f1
    5045Making file links///links_r1_d1 f1
    51 
    5246Doing the stat() on all the good absolute paths
    53 stat( /dev ) returned 
    54 ...st_dev     (0x0:0x0)
    55 ...st_ino     2
     47stat( /dev ) returned
     48st_dev     (0x0:0x0)
     49...st_ino     2         ( May vary slightly )
    5650...st_mode    40771
    5751...st_nlink   1
     
    5953...st_gid     0
    6054...st_rdev    (0x0:0x0)
    61 ...st_size    268
     55...st_size    536
    6256...st_atime   Fri Jan 01 00:00:00 1988
    6357...st_mtime   Fri Jan 01 00:00:00 1988
    6458...st_ctime   Fri Jan 01 00:00:00 1988
    65 stat( ////dir1/\//file1\\// ) returned
    66 ...st_dev     (0x0:0x0)
    67 ...st_ino     c
    68 ...st_mode    100000
    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 stat( /dir1/\\/file2 ) returned
    78 ...st_dev     (0x0:0x0)
    79 ...st_ino     d
    80 ...st_mode    100000
    81 ...st_nlink   3
    82 ...st_uid     0
    83 ...st_gid     0
    84 ...st_rdev    (0x0:0x0)
    85 ...st_size    0
    86 ...st_atime   Sat Dec 31 09:00:00 1988
    87 ...st_mtime   Sat Dec 31 09:00:00 1988
    88 ...st_ctime   Sat Dec 31 09:00:10 1988
    89 stat( /dir1/file3/////\\\ ) returned
    90 ...st_dev     (0x0:0x0)
    91 ...st_ino     e
    92 ...st_mode    100000
    93 ...st_nlink   3
    94 ...st_uid     0
    95 ...st_gid     0
    96 ...st_rdev    (0x0:0x0)
    97 ...st_size    0
    98 ...st_atime   Sat Dec 31 09:00:00 1988
    99 ...st_mtime   Sat Dec 31 09:00:00 1988
    100 ...st_ctime   Sat Dec 31 09:00:10 1988
    101 stat( /dir1/file4 ) returned 
    102 ...st_dev     (0x0:0x0)
    103 ...st_ino     f
    104 ...st_mode    100000
    105 ...st_nlink   3
    106 ...st_uid     0
    107 ...st_gid     0
    108 ...st_rdev    (0x0:0x0)
    109 ...st_size    0
    110 ...st_atime   Sat Dec 31 09:00:00 1988
    111 ...st_mtime   Sat Dec 31 09:00:00 1988
    112 ...st_ctime   Sat Dec 31 09:00:10 1988
    113 stat( /dir1/dir1/file1 ) returned 
    114 ...st_dev     (0x0:0x0)
    115 ...st_ino     10
    116 ...st_mode    100000
    117 ...st_nlink   3
    118 ...st_uid     0
    119 ...st_gid     0
    120 ...st_rdev    (0x0:0x0)
    121 ...st_size    0
    122 ...st_atime   Sat Dec 31 09:00:00 1988
    123 ...st_mtime   Sat Dec 31 09:00:00 1988
    124 ...st_ctime   Sat Dec 31 09:00:10 1988
    125 stat( /dir1/dir1/ file1 ) returned 
    126 ...st_dev     (0x0:0x0)
    127 ...st_ino     11
    128 ...st_mode    100000
    129 ...st_nlink   3
    130 ...st_uid     0
    131 ...st_gid     0
    132 ...st_rdev    (0x0:0x0)
    133 ...st_size    0
    134 ...st_atime   Sat Dec 31 09:00:00 1988
    135 ...st_mtime   Sat Dec 31 09:00:00 1988
    136 ...st_ctime   Sat Dec 31 09:00:10 1988
    137 stat( /dir1 ) returned 
    138 ...st_dev     (0x0:0x0)
    139 ...st_ino     4
     59stat( ////dir1///file1\// ) returned
     60st_dev     (0x0:0x0)
     61...st_ino     d         ( May vary slightly )
     62...st_mode    100000
     63...st_nlink   3
     64...st_uid     0
     65...st_gid     0
     66...st_rdev    (0x0:0x0)
     67...st_size    0
     68...st_atime   Sat Dec 31 09:00:00 1988
     69...st_mtime   Sat Dec 31 09:00:00 1988
     70...st_ctime   Sat Dec 31 09:00:10 1988
     71stat( /dir1/\/file2 ) returned
     72st_dev     (0x0:0x0)
     73...st_ino     e         ( May vary slightly )
     74...st_mode    100000
     75...st_nlink   3
     76...st_uid     0
     77...st_gid     0
     78...st_rdev    (0x0:0x0)
     79...st_size    0
     80...st_atime   Sat Dec 31 09:00:00 1988
     81...st_mtime   Sat Dec 31 09:00:00 1988
     82...st_ctime   Sat Dec 31 09:00:10 1988
     83stat( /dir1/file3/////\ ) returned
     84st_dev     (0x0:0x0)
     85...st_ino     f         ( May vary slightly )
     86...st_mode    100000
     87...st_nlink   3
     88...st_uid     0
     89...st_gid     0
     90...st_rdev    (0x0:0x0)
     91...st_size    0
     92...st_atime   Sat Dec 31 09:00:00 1988
     93...st_mtime   Sat Dec 31 09:00:00 1988
     94...st_ctime   Sat Dec 31 09:00:10 1988
     95stat( /dir1/file4 ) returned
     96st_dev     (0x0:0x0)
     97...st_ino     10         ( May vary slightly )
     98...st_mode    100000
     99...st_nlink   3
     100...st_uid     0
     101...st_gid     0
     102...st_rdev    (0x0:0x0)
     103...st_size    0
     104...st_atime   Sat Dec 31 09:00:00 1988
     105...st_mtime   Sat Dec 31 09:00:00 1988
     106...st_ctime   Sat Dec 31 09:00:10 1988
     107stat( /dir1/dir1/file1 ) returned
     108st_dev     (0x0:0x0)
     109...st_ino     11         ( May vary slightly )
     110...st_mode    100000
     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
     119stat( /dir1/dir1/ file1 ) returned
     120st_dev     (0x0:0x0)
     121...st_ino     12         ( May vary slightly )
     122...st_mode    100000
     123...st_nlink   3
     124...st_uid     0
     125...st_gid     0
     126...st_rdev    (0x0:0x0)
     127...st_size    0
     128...st_atime   Sat Dec 31 09:00:00 1988
     129...st_mtime   Sat Dec 31 09:00:00 1988
     130...st_ctime   Sat Dec 31 09:00:10 1988
     131stat( /dir1 ) returned
     132st_dev     (0x0:0x0)
     133...st_ino     5         ( May vary slightly )
    140134...st_mode    40700
    141135...st_nlink   3
     
    147141...st_mtime   Sat Dec 31 09:00:00 1988
    148142...st_ctime   Sat Dec 31 09:00:05 1988
    149 stat( /dir2//////\ ) returned
    150 ...st_dev     (0x0:0x0)
    151 ...st_ino     5
    152 ...st_mode    40700
    153 ...st_nlink   3
    154 ...st_uid     0
    155 ...st_gid     0
    156 ...st_rdev    (0x0:0x0)
    157 ...st_size    0
    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 stat( /dir3 ) returned 
    162 ...st_dev     (0x0:0x0)
    163 ...st_ino     6
    164 ...st_mode    40700
    165 ...st_nlink   3
    166 ...st_uid     0
    167 ...st_gid     0
    168 ...st_rdev    (0x0:0x0)
    169 ...st_size    0
    170 ...st_atime   Sat Dec 31 09:00:00 1988
    171 ...st_mtime   Sat Dec 31 09:00:00 1988
    172 ...st_ctime   Sat Dec 31 09:00:05 1988
    173 stat( /dir4 ) returned 
    174 ...st_dev     (0x0:0x0)
    175 ...st_ino     7
    176 ...st_mode    40700
    177 ...st_nlink   3
    178 ...st_uid     0
    179 ...st_gid     0
    180 ...st_rdev    (0x0:0x0)
    181 ...st_size    0
    182 ...st_atime   Sat Dec 31 09:00:00 1988
    183 ...st_mtime   Sat Dec 31 09:00:00 1988
    184 ...st_ctime   Sat Dec 31 09:00:05 1988
    185 stat( /dir1/dir1 ) returned 
    186 ...st_dev     (0x0:0x0)
    187 ...st_ino     8
     143stat( /dir2////// ) returned
     144st_dev     (0x0:0x0)
     145...st_ino     6         ( May vary slightly )
     146...st_mode    40700
     147...st_nlink   3
     148...st_uid     0
     149...st_gid     0
     150...st_rdev    (0x0:0x0)
     151...st_size    0
     152...st_atime   Sat Dec 31 09:00:00 1988
     153...st_mtime   Sat Dec 31 09:00:00 1988
     154...st_ctime   Sat Dec 31 09:00:05 1988
     155stat( /dir3 ) returned
     156st_dev     (0x0:0x0)
     157...st_ino     7         ( May vary slightly )
     158...st_mode    40700
     159...st_nlink   3
     160...st_uid     0
     161...st_gid     0
     162...st_rdev    (0x0:0x0)
     163...st_size    0
     164...st_atime   Sat Dec 31 09:00:00 1988
     165...st_mtime   Sat Dec 31 09:00:00 1988
     166...st_ctime   Sat Dec 31 09:00:05 1988
     167stat( /dir4 ) returned
     168st_dev     (0x0:0x0)
     169...st_ino     8         ( May vary slightly )
     170...st_mode    40700
     171...st_nlink   3
     172...st_uid     0
     173...st_gid     0
     174...st_rdev    (0x0:0x0)
     175...st_size    0
     176...st_atime   Sat Dec 31 09:00:00 1988
     177...st_mtime   Sat Dec 31 09:00:00 1988
     178...st_ctime   Sat Dec 31 09:00:05 1988
     179stat( /dir1/dir1 ) returned
     180st_dev     (0x0:0x0)
     181...st_ino     9         ( May vary slightly )
    188182...st_mode    40700
    189183...st_nlink   3
     
    195189...st_mtime   Sat Dec 31 09:00:00 1988
    196190...st_ctime   Sat Dec 31 09:00:05 1988
    197 stat( /dir1/ dir1///\\ ) returned
    198 ...st_dev     (0x0:0x0)
    199 ...st_ino     9
    200 ...st_mode    40700
    201 ...st_nlink   3
    202 ...st_uid     0
    203 ...st_gid     0
    204 ...st_rdev    (0x0:0x0)
    205 ...st_size    0
    206 ...st_atime   Sat Dec 31 09:00:00 1988
    207 ...st_mtime   Sat Dec 31 09:00:00 1988
    208 ...st_ctime   Sat Dec 31 09:00:05 1988
    209 stat( /\/\/\/\/\/\/links\/\/\/\/\/\ ) returned
    210 ...st_dev     (0x0:0x0)
    211 ...st_ino     a
     191stat( /dir1/ dir1///\ ) returned
     192st_dev     (0x0:0x0)
     193...st_ino     a         ( May vary slightly )
     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
     203stat( ///////links///// ) returned
     204st_dev     (0x0:0x0)
     205...st_ino     b         ( May vary slightly )
    212206...st_mode    40700
    213207...st_nlink   3
     
    219213...st_mtime   Sat Dec 31 09:00:00 1988
    220214...st_ctime   Sat Dec 31 09:00:05 1988
    221 
    222215Doing the stat() on all the good relative paths
    223 stat( dev ) returned 
    224 ...st_dev     (0x0:0x0)
    225 ...st_ino     2
     216stat( dev ) returned
     217st_dev     (0x0:0x0)
     218...st_ino     2         ( May vary slightly )
    226219...st_mode    40771
    227220...st_nlink   1
     
    229222...st_gid     0
    230223...st_rdev    (0x0:0x0)
    231 ...st_size    268
     224...st_size    536
    232225...st_atime   Fri Jan 01 00:00:00 1988
    233226...st_mtime   Fri Jan 01 00:00:00 1988
    234227...st_ctime   Fri Jan 01 00:00:00 1988
    235 stat( dir1/\//file1\\// ) returned
    236 ...st_dev     (0x0:0x0)
    237 ...st_ino     c
    238 ...st_mode    100000
    239 ...st_nlink   3
    240 ...st_uid     0
    241 ...st_gid     0
    242 ...st_rdev    (0x0:0x0)
    243 ...st_size    0
    244 ...st_atime   Sat Dec 31 09:00:00 1988
    245 ...st_mtime   Sat Dec 31 09:00:00 1988
    246 ...st_ctime   Sat Dec 31 09:00:10 1988
    247 stat( dir1/\\/file2 ) returned
    248 ...st_dev     (0x0:0x0)
    249 ...st_ino     d
    250 ...st_mode    100000
    251 ...st_nlink   3
    252 ...st_uid     0
    253 ...st_gid     0
    254 ...st_rdev    (0x0:0x0)
    255 ...st_size    0
    256 ...st_atime   Sat Dec 31 09:00:00 1988
    257 ...st_mtime   Sat Dec 31 09:00:00 1988
    258 ...st_ctime   Sat Dec 31 09:00:10 1988
    259 stat( dir1/file3/////\\\ ) returned
    260 ...st_dev     (0x0:0x0)
    261 ...st_ino     e
    262 ...st_mode    100000
    263 ...st_nlink   3
    264 ...st_uid     0
    265 ...st_gid     0
    266 ...st_rdev    (0x0:0x0)
    267 ...st_size    0
    268 ...st_atime   Sat Dec 31 09:00:00 1988
    269 ...st_mtime   Sat Dec 31 09:00:00 1988
    270 ...st_ctime   Sat Dec 31 09:00:10 1988
    271 stat( dir1/file4 ) returned 
    272 ...st_dev     (0x0:0x0)
    273 ...st_ino     f
    274 ...st_mode    100000
    275 ...st_nlink   3
    276 ...st_uid     0
    277 ...st_gid     0
    278 ...st_rdev    (0x0:0x0)
    279 ...st_size    0
    280 ...st_atime   Sat Dec 31 09:00:00 1988
    281 ...st_mtime   Sat Dec 31 09:00:00 1988
    282 ...st_ctime   Sat Dec 31 09:00:10 1988
    283 stat( dir1/dir1/file1 ) returned 
    284 ...st_dev     (0x0:0x0)
    285 ...st_ino     10
    286 ...st_mode    100000
    287 ...st_nlink   3
    288 ...st_uid     0
    289 ...st_gid     0
    290 ...st_rdev    (0x0:0x0)
    291 ...st_size    0
    292 ...st_atime   Sat Dec 31 09:00:00 1988
    293 ...st_mtime   Sat Dec 31 09:00:00 1988
    294 ...st_ctime   Sat Dec 31 09:00:10 1988
    295 stat( dir1/dir1/ file1 ) returned 
    296 ...st_dev     (0x0:0x0)
    297 ...st_ino     11
    298 ...st_mode    100000
    299 ...st_nlink   3
    300 ...st_uid     0
    301 ...st_gid     0
    302 ...st_rdev    (0x0:0x0)
    303 ...st_size    0
    304 ...st_atime   Sat Dec 31 09:00:00 1988
    305 ...st_mtime   Sat Dec 31 09:00:00 1988
    306 ...st_ctime   Sat Dec 31 09:00:10 1988
    307 stat( dir1 ) returned 
    308 ...st_dev     (0x0:0x0)
    309 ...st_ino     4
     228stat( dir1///file1\// ) returned
     229st_dev     (0x0:0x0)
     230...st_ino     d         ( May vary slightly )
     231...st_mode    100000
     232...st_nlink   3
     233...st_uid     0
     234...st_gid     0
     235...st_rdev    (0x0:0x0)
     236...st_size    0
     237...st_atime   Sat Dec 31 09:00:00 1988
     238...st_mtime   Sat Dec 31 09:00:00 1988
     239...st_ctime   Sat Dec 31 09:00:10 1988
     240stat( dir1/\/file2 ) returned
     241st_dev     (0x0:0x0)
     242...st_ino     e         ( May vary slightly )
     243...st_mode    100000
     244...st_nlink   3
     245...st_uid     0
     246...st_gid     0
     247...st_rdev    (0x0:0x0)
     248...st_size    0
     249...st_atime   Sat Dec 31 09:00:00 1988
     250...st_mtime   Sat Dec 31 09:00:00 1988
     251...st_ctime   Sat Dec 31 09:00:10 1988
     252stat( dir1/file3/////\ ) returned
     253st_dev     (0x0:0x0)
     254...st_ino     f         ( May vary slightly )
     255...st_mode    100000
     256...st_nlink   3
     257...st_uid     0
     258...st_gid     0
     259...st_rdev    (0x0:0x0)
     260...st_size    0
     261...st_atime   Sat Dec 31 09:00:00 1988
     262...st_mtime   Sat Dec 31 09:00:00 1988
     263...st_ctime   Sat Dec 31 09:00:10 1988
     264stat( dir1/file4 ) returned
     265st_dev     (0x0:0x0)
     266...st_ino     10         ( May vary slightly )
     267...st_mode    100000
     268...st_nlink   3
     269...st_uid     0
     270...st_gid     0
     271...st_rdev    (0x0:0x0)
     272...st_size    0
     273...st_atime   Sat Dec 31 09:00:00 1988
     274...st_mtime   Sat Dec 31 09:00:00 1988
     275...st_ctime   Sat Dec 31 09:00:10 1988
     276stat( dir1/dir1/file1 ) returned
     277st_dev     (0x0:0x0)
     278...st_ino     11         ( May vary slightly )
     279...st_mode    100000
     280...st_nlink   3
     281...st_uid     0
     282...st_gid     0
     283...st_rdev    (0x0:0x0)
     284...st_size    0
     285...st_atime   Sat Dec 31 09:00:00 1988
     286...st_mtime   Sat Dec 31 09:00:00 1988
     287...st_ctime   Sat Dec 31 09:00:10 1988
     288stat( dir1/dir1/ file1 ) returned
     289st_dev     (0x0:0x0)
     290...st_ino     12         ( May vary slightly )
     291...st_mode    100000
     292...st_nlink   3
     293...st_uid     0
     294...st_gid     0
     295...st_rdev    (0x0:0x0)
     296...st_size    0
     297...st_atime   Sat Dec 31 09:00:00 1988
     298...st_mtime   Sat Dec 31 09:00:00 1988
     299...st_ctime   Sat Dec 31 09:00:10 1988
     300stat( dir1 ) returned
     301st_dev     (0x0:0x0)
     302...st_ino     5         ( May vary slightly )
    310303...st_mode    40700
    311304...st_nlink   3
     
    317310...st_mtime   Sat Dec 31 09:00:00 1988
    318311...st_ctime   Sat Dec 31 09:00:05 1988
    319 stat( dir2//////\ ) returned
    320 ...st_dev     (0x0:0x0)
    321 ...st_ino     5
    322 ...st_mode    40700
    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:05 1988
    331 stat( dir3 ) returned 
    332 ...st_dev     (0x0:0x0)
    333 ...st_ino     6
    334 ...st_mode    40700
    335 ...st_nlink   3
    336 ...st_uid     0
    337 ...st_gid     0
    338 ...st_rdev    (0x0:0x0)
    339 ...st_size    0
    340 ...st_atime   Sat Dec 31 09:00:00 1988
    341 ...st_mtime   Sat Dec 31 09:00:00 1988
    342 ...st_ctime   Sat Dec 31 09:00:05 1988
    343 stat( dir4 ) returned 
    344 ...st_dev     (0x0:0x0)
    345 ...st_ino     7
    346 ...st_mode    40700
    347 ...st_nlink   3
    348 ...st_uid     0
    349 ...st_gid     0
    350 ...st_rdev    (0x0:0x0)
    351 ...st_size    0
    352 ...st_atime   Sat Dec 31 09:00:00 1988
    353 ...st_mtime   Sat Dec 31 09:00:00 1988
    354 ...st_ctime   Sat Dec 31 09:00:05 1988
    355 stat( dir1/dir1 ) returned 
    356 ...st_dev     (0x0:0x0)
    357 ...st_ino     8
     312stat( dir2////// ) returned
     313st_dev     (0x0:0x0)
     314...st_ino     6         ( May vary slightly )
     315...st_mode    40700
     316...st_nlink   3
     317...st_uid     0
     318...st_gid     0
     319...st_rdev    (0x0:0x0)
     320...st_size    0
     321...st_atime   Sat Dec 31 09:00:00 1988
     322...st_mtime   Sat Dec 31 09:00:00 1988
     323...st_ctime   Sat Dec 31 09:00:05 1988
     324stat( dir3 ) returned
     325st_dev     (0x0:0x0)
     326...st_ino     7         ( May vary slightly )
     327...st_mode    40700
     328...st_nlink   3
     329...st_uid     0
     330...st_gid     0
     331...st_rdev    (0x0:0x0)
     332...st_size    0
     333...st_atime   Sat Dec 31 09:00:00 1988
     334...st_mtime   Sat Dec 31 09:00:00 1988
     335...st_ctime   Sat Dec 31 09:00:05 1988
     336stat( dir4 ) returned
     337st_dev     (0x0:0x0)
     338...st_ino     8         ( May vary slightly )
     339...st_mode    40700
     340...st_nlink   3
     341...st_uid     0
     342...st_gid     0
     343...st_rdev    (0x0:0x0)
     344...st_size    0
     345...st_atime   Sat Dec 31 09:00:00 1988
     346...st_mtime   Sat Dec 31 09:00:00 1988
     347...st_ctime   Sat Dec 31 09:00:05 1988
     348stat( dir1/dir1 ) returned
     349st_dev     (0x0:0x0)
     350...st_ino     9         ( May vary slightly )
    358351...st_mode    40700
    359352...st_nlink   3
     
    365358...st_mtime   Sat Dec 31 09:00:00 1988
    366359...st_ctime   Sat Dec 31 09:00:05 1988
    367 stat( dir1/ dir1///\\ ) returned
    368 ...st_dev     (0x0:0x0)
    369 ...st_ino     9
    370 ...st_mode    40700
    371 ...st_nlink   3
    372 ...st_uid     0
    373 ...st_gid     0
    374 ...st_rdev    (0x0:0x0)
    375 ...st_size    0
    376 ...st_atime   Sat Dec 31 09:00:00 1988
    377 ...st_mtime   Sat Dec 31 09:00:00 1988
    378 ...st_ctime   Sat Dec 31 09:00:05 1988
    379 stat( main.c ) returned 
    380 ...st_dev     (0x0:0x0)
    381 ...st_ino     12
     360stat( dir1/ dir1///\ ) returned
     361st_dev     (0x0:0x0)
     362...st_ino     a         ( May vary slightly )
     363...st_mode    40700
     364...st_nlink   3
     365...st_uid     0
     366...st_gid     0
     367...st_rdev    (0x0:0x0)
     368...st_size    0
     369...st_atime   Sat Dec 31 09:00:00 1988
     370...st_mtime   Sat Dec 31 09:00:00 1988
     371...st_ctime   Sat Dec 31 09:00:05 1988
     372stat( main.c ) returned
     373st_dev     (0x0:0x0)
     374...st_ino     13         ( May vary slightly )
    382375...st_mode    100000
    383376...st_nlink   1
     
    389382...st_mtime   Sat Dec 31 09:00:00 1988
    390383...st_ctime   Sat Dec 31 09:00:00 1988
    391 
    392384chdir to dev
    393 
    394385stat relative paths that are now bad
    395386stat( dev ) returned : No such file or directory
    396 stat( dir1/\//file1\\// ) returned : No such file or directory
    397 stat( dir1/\\/file2 ) returned : No such file or directory
    398 stat( dir1/file3/////\\\ ) returned : No such file or directory
     387stat( dir1///file1\// ) returned : No such file or directory
     388stat( dir1/\/file2 ) returned : No such file or directory
     389stat( dir1/file3/////\ ) returned : No such file or directory
    399390stat( dir1/file4 ) returned : No such file or directory
    400391stat( dir1/dir1/file1 ) returned : No such file or directory
    401392stat( dir1/dir1/ file1 ) returned : No such file or directory
    402393stat( dir1 ) returned : No such file or directory
    403 stat( dir2//////\ ) returned : No such file or directory
     394stat( dir2////// ) returned : No such file or directory
    404395stat( dir3 ) returned : No such file or directory
    405396stat( dir4 ) returned : No such file or directory
    406397stat( dir1/dir1 ) returned : No such file or directory
    407 stat( dir1/ dir1///\\ ) returned : No such file or directory
     398stat( dir1/ dir1///\ ) returned : No such file or directory
    408399stat( main.c ) returned : No such file or directory
    409 
    410400chdir to ../links
    411401Doing the stat() on good links
    412 
    413 stat( dir1/dir1/../../links/dir1 ) returned
    414 ...st_dev     (0x0:0x0)
    415 ...st_ino     4
     402stat( dir1/dir1/../../links/dir1 ) returned
     403st_dev     (0x0:0x0)
     404...st_ino     5         ( May vary slightly )
    416405...st_mode    40700
    417406...st_nlink   3
     
    423412...st_mtime   Sat Dec 31 09:00:00 1988
    424413...st_ctime   Sat Dec 31 09:00:05 1988
    425 stat( links/dir2 ) returned 
    426 ...st_dev     (0x0:0x0)
    427 ...st_ino     5
    428 ...st_mode    40700
    429 ...st_nlink   3
    430 ...st_uid     0
    431 ...st_gid     0
    432 ...st_rdev    (0x0:0x0)
    433 ...st_size    0
    434 ...st_atime   Sat Dec 31 09:00:00 1988
    435 ...st_mtime   Sat Dec 31 09:00:00 1988
    436 ...st_ctime   Sat Dec 31 09:00:05 1988
    437 stat( links/dir3 ) returned 
    438 ...st_dev     (0x0:0x0)
    439 ...st_ino     6
    440 ...st_mode    40700
    441 ...st_nlink   3
    442 ...st_uid     0
    443 ...st_gid     0
    444 ...st_rdev    (0x0:0x0)
    445 ...st_size    0
    446 ...st_atime   Sat Dec 31 09:00:00 1988
    447 ...st_mtime   Sat Dec 31 09:00:00 1988
    448 ...st_ctime   Sat Dec 31 09:00:05 1988
    449 stat( links/dir4 ) returned 
    450 ...st_dev     (0x0:0x0)
    451 ...st_ino     7
    452 ...st_mode    40700
    453 ...st_nlink   3
    454 ...st_uid     0
    455 ...st_gid     0
    456 ...st_rdev    (0x0:0x0)
    457 ...st_size    0
    458 ...st_atime   Sat Dec 31 09:00:00 1988
    459 ...st_mtime   Sat Dec 31 09:00:00 1988
    460 ...st_ctime   Sat Dec 31 09:00:05 1988
    461 stat( links/dir1_dir1 ) returned 
    462 ...st_dev     (0x0:0x0)
    463 ...st_ino     8
     414stat( links/dir2 ) returned
     415st_dev     (0x0:0x0)
     416...st_ino     6         ( May vary slightly )
     417...st_mode    40700
     418...st_nlink   3
     419...st_uid     0
     420...st_gid     0
     421...st_rdev    (0x0:0x0)
     422...st_size    0
     423...st_atime   Sat Dec 31 09:00:00 1988
     424...st_mtime   Sat Dec 31 09:00:00 1988
     425...st_ctime   Sat Dec 31 09:00:05 1988
     426stat( links/dir3 ) returned
     427st_dev     (0x0:0x0)
     428...st_ino     7         ( May vary slightly )
     429...st_mode    40700
     430...st_nlink   3
     431...st_uid     0
     432...st_gid     0
     433...st_rdev    (0x0:0x0)
     434...st_size    0
     435...st_atime   Sat Dec 31 09:00:00 1988
     436...st_mtime   Sat Dec 31 09:00:00 1988
     437...st_ctime   Sat Dec 31 09:00:05 1988
     438stat( links/dir4 ) returned
     439st_dev     (0x0:0x0)
     440...st_ino     8         ( May vary slightly )
     441...st_mode    40700
     442...st_nlink   3
     443...st_uid     0
     444...st_gid     0
     445...st_rdev    (0x0:0x0)
     446...st_size    0
     447...st_atime   Sat Dec 31 09:00:00 1988
     448...st_mtime   Sat Dec 31 09:00:00 1988
     449...st_ctime   Sat Dec 31 09:00:05 1988
     450stat( links/dir1_dir1 ) returned
     451st_dev     (0x0:0x0)
     452...st_ino     9         ( May vary slightly )
    464453...st_mode    40700
    465454...st_nlink   3
     
    471460...st_mtime   Sat Dec 31 09:00:00 1988
    472461...st_ctime   Sat Dec 31 09:00:05 1988
    473 stat( links/dir1_ dir1 ) returned 
    474 ...st_dev     (0x0:0x0)
    475 ...st_ino     9
    476 ...st_mode    40700
    477 ...st_nlink   3
    478 ...st_uid     0
    479 ...st_gid     0
    480 ...st_rdev    (0x0:0x0)
    481 ...st_size    0
    482 ...st_atime   Sat Dec 31 09:00:00 1988
    483 ...st_mtime   Sat Dec 31 09:00:00 1988
    484 ...st_ctime   Sat Dec 31 09:00:05 1988
    485 stat( links/../links/../links/links ) returned 
    486 ...st_dev     (0x0:0x0)
    487 ...st_ino     a
     462stat( links/dir1_ dir1 ) returned
     463st_dev     (0x0:0x0)
     464...st_ino     a         ( May vary slightly )
     465...st_mode    40700
     466...st_nlink   3
     467...st_uid     0
     468...st_gid     0
     469...st_rdev    (0x0:0x0)
     470...st_size    0
     471...st_atime   Sat Dec 31 09:00:00 1988
     472...st_mtime   Sat Dec 31 09:00:00 1988
     473...st_ctime   Sat Dec 31 09:00:05 1988
     474stat( links/../links/../links/links ) returned
     475st_dev     (0x0:0x0)
     476...st_ino     b         ( May vary slightly )
    488477...st_mode    40700
    489478...st_nlink   3
     
    495484...st_mtime   Sat Dec 31 09:00:00 1988
    496485...st_ctime   Sat Dec 31 09:00:05 1988
    497 stat( links/dir1_file1 ) returned 
    498 ...st_dev     (0x0:0x0)
    499 ...st_ino     c
    500 ...st_mode    100000
    501 ...st_nlink   3
    502 ...st_uid     0
    503 ...st_gid     0
    504 ...st_rdev    (0x0:0x0)
    505 ...st_size    0
    506 ...st_atime   Sat Dec 31 09:00:00 1988
    507 ...st_mtime   Sat Dec 31 09:00:00 1988
    508 ...st_ctime   Sat Dec 31 09:00:10 1988
    509 stat( links/dir1_file2 ) returned 
    510 ...st_dev     (0x0:0x0)
    511 ...st_ino     d
    512 ...st_mode    100000
    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:10 1988
    521 stat( links/dir1_file3 ) returned 
    522 ...st_dev     (0x0:0x0)
    523 ...st_ino     e
    524 ...st_mode    100000
    525 ...st_nlink   3
    526 ...st_uid     0
    527 ...st_gid     0
    528 ...st_rdev    (0x0:0x0)
    529 ...st_size    0
    530 ...st_atime   Sat Dec 31 09:00:00 1988
    531 ...st_mtime   Sat Dec 31 09:00:00 1988
    532 ...st_ctime   Sat Dec 31 09:00:10 1988
    533 stat( links/dir1_file4 ) returned 
    534 ...st_dev     (0x0:0x0)
    535 ...st_ino     f
    536 ...st_mode    100000
    537 ...st_nlink   3
    538 ...st_uid     0
    539 ...st_gid     0
    540 ...st_rdev    (0x0:0x0)
    541 ...st_size    0
    542 ...st_atime   Sat Dec 31 09:00:00 1988
    543 ...st_mtime   Sat Dec 31 09:00:00 1988
    544 ...st_ctime   Sat Dec 31 09:00:10 1988
    545 stat( links/dir1_dir1_f1 ) returned 
    546 ...st_dev     (0x0:0x0)
    547 ...st_ino     10
    548 ...st_mode    100000
    549 ...st_nlink   3
    550 ...st_uid     0
    551 ...st_gid     0
    552 ...st_rdev    (0x0:0x0)
    553 ...st_size    0
    554 ...st_atime   Sat Dec 31 09:00:00 1988
    555 ...st_mtime   Sat Dec 31 09:00:00 1988
    556 ...st_ctime   Sat Dec 31 09:00:10 1988
    557 stat( links/dir1_dir1 f1 ) returned 
    558 ...st_dev     (0x0:0x0)
    559 ...st_ino     11
    560 ...st_mode    100000
    561 ...st_nlink   3
    562 ...st_uid     0
    563 ...st_gid     0
    564 ...st_rdev    (0x0:0x0)
    565 ...st_size    0
    566 ...st_atime   Sat Dec 31 09:00:00 1988
    567 ...st_mtime   Sat Dec 31 09:00:00 1988
    568 ...st_ctime   Sat Dec 31 09:00:10 1988
    569 stat( links/links/links/links_dir1 ) returned 
    570 ...st_dev     (0x0:0x0)
    571 ...st_ino     4
     486stat( links/dir1_file1 ) returned
     487st_dev     (0x0:0x0)
     488...st_ino     d         ( May vary slightly )
     489...st_mode    100000
     490...st_nlink   3
     491...st_uid     0
     492...st_gid     0
     493...st_rdev    (0x0:0x0)
     494...st_size    0
     495...st_atime   Sat Dec 31 09:00:00 1988
     496...st_mtime   Sat Dec 31 09:00:00 1988
     497...st_ctime   Sat Dec 31 09:00:10 1988
     498stat( links/dir1_file2 ) returned
     499st_dev     (0x0:0x0)
     500...st_ino     e         ( May vary slightly )
     501...st_mode    100000
     502...st_nlink   3
     503...st_uid     0
     504...st_gid     0
     505...st_rdev    (0x0:0x0)
     506...st_size    0
     507...st_atime   Sat Dec 31 09:00:00 1988
     508...st_mtime   Sat Dec 31 09:00:00 1988
     509...st_ctime   Sat Dec 31 09:00:10 1988
     510stat( links/dir1_file3 ) returned
     511st_dev     (0x0:0x0)
     512...st_ino     f         ( May vary slightly )
     513...st_mode    100000
     514...st_nlink   3
     515...st_uid     0
     516...st_gid     0
     517...st_rdev    (0x0:0x0)
     518...st_size    0
     519...st_atime   Sat Dec 31 09:00:00 1988
     520...st_mtime   Sat Dec 31 09:00:00 1988
     521...st_ctime   Sat Dec 31 09:00:10 1988
     522stat( links/dir1_file4 ) returned
     523st_dev     (0x0:0x0)
     524...st_ino     10         ( May vary slightly )
     525...st_mode    100000
     526...st_nlink   3
     527...st_uid     0
     528...st_gid     0
     529...st_rdev    (0x0:0x0)
     530...st_size    0
     531...st_atime   Sat Dec 31 09:00:00 1988
     532...st_mtime   Sat Dec 31 09:00:00 1988
     533...st_ctime   Sat Dec 31 09:00:10 1988
     534stat( links/dir1_dir1_f1 ) returned
     535st_dev     (0x0:0x0)
     536...st_ino     11         ( May vary slightly )
     537...st_mode    100000
     538...st_nlink   3
     539...st_uid     0
     540...st_gid     0
     541...st_rdev    (0x0:0x0)
     542...st_size    0
     543...st_atime   Sat Dec 31 09:00:00 1988
     544...st_mtime   Sat Dec 31 09:00:00 1988
     545...st_ctime   Sat Dec 31 09:00:10 1988
     546stat( links/dir1_dir1 f1 ) returned
     547st_dev     (0x0:0x0)
     548...st_ino     12         ( May vary slightly )
     549...st_mode    100000
     550...st_nlink   3
     551...st_uid     0
     552...st_gid     0
     553...st_rdev    (0x0:0x0)
     554...st_size    0
     555...st_atime   Sat Dec 31 09:00:00 1988
     556...st_mtime   Sat Dec 31 09:00:00 1988
     557...st_ctime   Sat Dec 31 09:00:10 1988
     558stat( links/links/links/links_dir1 ) returned
     559st_dev     (0x0:0x0)
     560...st_ino     5         ( May vary slightly )
    572561...st_mode    40700
    573562...st_nlink   3
     
    579568...st_mtime   Sat Dec 31 09:00:00 1988
    580569...st_ctime   Sat Dec 31 09:00:05 1988
    581 stat( links//links_dir2 ) returned 
    582 ...st_dev     (0x0:0x0)
    583 ...st_ino     5
    584 ...st_mode    40700
    585 ...st_nlink   3
    586 ...st_uid     0
    587 ...st_gid     0
    588 ...st_rdev    (0x0:0x0)
    589 ...st_size    0
    590 ...st_atime   Sat Dec 31 09:00:00 1988
    591 ...st_mtime   Sat Dec 31 09:00:00 1988
    592 ...st_ctime   Sat Dec 31 09:00:05 1988
    593 stat( links//links_dir3 ) returned 
    594 ...st_dev     (0x0:0x0)
    595 ...st_ino     6
    596 ...st_mode    40700
    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:05 1988
    605 stat( links//links_dir4 ) returned 
    606 ...st_dev     (0x0:0x0)
    607 ...st_ino     7
    608 ...st_mode    40700
    609 ...st_nlink   3
    610 ...st_uid     0
    611 ...st_gid     0
    612 ...st_rdev    (0x0:0x0)
    613 ...st_size    0
    614 ...st_atime   Sat Dec 31 09:00:00 1988
    615 ...st_mtime   Sat Dec 31 09:00:00 1988
    616 ...st_ctime   Sat Dec 31 09:00:05 1988
    617 stat( links//links_dir1_d1 ) returned 
    618 ...st_dev     (0x0:0x0)
    619 ...st_ino     8
     570stat( links//links_dir2 ) returned
     571st_dev     (0x0:0x0)
     572...st_ino     6         ( May vary slightly )
     573...st_mode    40700
     574...st_nlink   3
     575...st_uid     0
     576...st_gid     0
     577...st_rdev    (0x0:0x0)
     578...st_size    0
     579...st_atime   Sat Dec 31 09:00:00 1988
     580...st_mtime   Sat Dec 31 09:00:00 1988
     581...st_ctime   Sat Dec 31 09:00:05 1988
     582stat( links//links_dir3 ) returned
     583st_dev     (0x0:0x0)
     584...st_ino     7         ( May vary slightly )
     585...st_mode    40700
     586...st_nlink   3
     587...st_uid     0
     588...st_gid     0
     589...st_rdev    (0x0:0x0)
     590...st_size    0
     591...st_atime   Sat Dec 31 09:00:00 1988
     592...st_mtime   Sat Dec 31 09:00:00 1988
     593...st_ctime   Sat Dec 31 09:00:05 1988
     594stat( links//links_dir4 ) returned
     595st_dev     (0x0:0x0)
     596...st_ino     8         ( May vary slightly )
     597...st_mode    40700
     598...st_nlink   3
     599...st_uid     0
     600...st_gid     0
     601...st_rdev    (0x0:0x0)
     602...st_size    0
     603...st_atime   Sat Dec 31 09:00:00 1988
     604...st_mtime   Sat Dec 31 09:00:00 1988
     605...st_ctime   Sat Dec 31 09:00:05 1988
     606stat( links//links_dir1_d1 ) returned
     607st_dev     (0x0:0x0)
     608...st_ino     9         ( May vary slightly )
    620609...st_mode    40700
    621610...st_nlink   3
     
    627616...st_mtime   Sat Dec 31 09:00:00 1988
    628617...st_ctime   Sat Dec 31 09:00:05 1988
    629 stat( links//links_dir1 d1 ) returned 
    630 ...st_dev     (0x0:0x0)
    631 ...st_ino     9
    632 ...st_mode    40700
    633 ...st_nlink   3
    634 ...st_uid     0
    635 ...st_gid     0
    636 ...st_rdev    (0x0:0x0)
    637 ...st_size    0
    638 ...st_atime   Sat Dec 31 09:00:00 1988
    639 ...st_mtime   Sat Dec 31 09:00:00 1988
    640 ...st_ctime   Sat Dec 31 09:00:05 1988
    641 stat( links//links_links ) returned 
    642 ...st_dev     (0x0:0x0)
    643 ...st_ino     a
     618stat( links//links_dir1 d1 ) returned
     619st_dev     (0x0:0x0)
     620...st_ino     a         ( May vary slightly )
     621...st_mode    40700
     622...st_nlink   3
     623...st_uid     0
     624...st_gid     0
     625...st_rdev    (0x0:0x0)
     626...st_size    0
     627...st_atime   Sat Dec 31 09:00:00 1988
     628...st_mtime   Sat Dec 31 09:00:00 1988
     629...st_ctime   Sat Dec 31 09:00:05 1988
     630stat( links//links_links ) returned
     631st_dev     (0x0:0x0)
     632...st_ino     b         ( May vary slightly )
    644633...st_mode    40700
    645634...st_nlink   3
     
    651640...st_mtime   Sat Dec 31 09:00:00 1988
    652641...st_ctime   Sat Dec 31 09:00:05 1988
    653 stat( links///links_d1_file1 ) returned 
    654 ...st_dev     (0x0:0x0)
    655 ...st_ino     c
    656 ...st_mode    100000
    657 ...st_nlink   3
    658 ...st_uid     0
    659 ...st_gid     0
    660 ...st_rdev    (0x0:0x0)
    661 ...st_size    0
    662 ...st_atime   Sat Dec 31 09:00:00 1988
    663 ...st_mtime   Sat Dec 31 09:00:00 1988
    664 ...st_ctime   Sat Dec 31 09:00:10 1988
    665 stat( links///links_d1_file2 ) returned 
    666 ...st_dev     (0x0:0x0)
    667 ...st_ino     d
    668 ...st_mode    100000
    669 ...st_nlink   3
    670 ...st_uid     0
    671 ...st_gid     0
    672 ...st_rdev    (0x0:0x0)
    673 ...st_size    0
    674 ...st_atime   Sat Dec 31 09:00:00 1988
    675 ...st_mtime   Sat Dec 31 09:00:00 1988
    676 ...st_ctime   Sat Dec 31 09:00:10 1988
    677 stat( links///links_d1_file3 ) returned 
    678 ...st_dev     (0x0:0x0)
    679 ...st_ino     e
    680 ...st_mode    100000
    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:10 1988
    689 stat( links///links_d1_file4 ) returned 
    690 ...st_dev     (0x0:0x0)
    691 ...st_ino     f
    692 ...st_mode    100000
    693 ...st_nlink   3
    694 ...st_uid     0
    695 ...st_gid     0
    696 ...st_rdev    (0x0:0x0)
    697 ...st_size    0
    698 ...st_atime   Sat Dec 31 09:00:00 1988
    699 ...st_mtime   Sat Dec 31 09:00:00 1988
    700 ...st_ctime   Sat Dec 31 09:00:10 1988
    701 stat( links///links_d1_d1_f1 ) returned 
    702 ...st_dev     (0x0:0x0)
    703 ...st_ino     10
    704 ...st_mode    100000
    705 ...st_nlink   3
    706 ...st_uid     0
    707 ...st_gid     0
    708 ...st_rdev    (0x0:0x0)
    709 ...st_size    0
    710 ...st_atime   Sat Dec 31 09:00:00 1988
    711 ...st_mtime   Sat Dec 31 09:00:00 1988
    712 ...st_ctime   Sat Dec 31 09:00:10 1988
    713 stat( links///links_r1_d1 f1 ) returned 
    714 ...st_dev     (0x0:0x0)
    715 ...st_ino     11
     642stat( links///links_d1_file1 ) returned
     643st_dev     (0x0:0x0)
     644...st_ino     d         ( May vary slightly )
     645...st_mode    100000
     646...st_nlink   3
     647...st_uid     0
     648...st_gid     0
     649...st_rdev    (0x0:0x0)
     650...st_size    0
     651...st_atime   Sat Dec 31 09:00:00 1988
     652...st_mtime   Sat Dec 31 09:00:00 1988
     653...st_ctime   Sat Dec 31 09:00:10 1988
     654stat( links///links_d1_file2 ) returned
     655st_dev     (0x0:0x0)
     656...st_ino     e         ( May vary slightly )
     657...st_mode    100000
     658...st_nlink   3
     659...st_uid     0
     660...st_gid     0
     661...st_rdev    (0x0:0x0)
     662...st_size    0
     663...st_atime   Sat Dec 31 09:00:00 1988
     664...st_mtime   Sat Dec 31 09:00:00 1988
     665...st_ctime   Sat Dec 31 09:00:10 1988
     666stat( links///links_d1_file3 ) returned
     667st_dev     (0x0:0x0)
     668...st_ino     f         ( May vary slightly )
     669...st_mode    100000
     670...st_nlink   3
     671...st_uid     0
     672...st_gid     0
     673...st_rdev    (0x0:0x0)
     674...st_size    0
     675...st_atime   Sat Dec 31 09:00:00 1988
     676...st_mtime   Sat Dec 31 09:00:00 1988
     677...st_ctime   Sat Dec 31 09:00:10 1988
     678stat( links///links_d1_file4 ) returned
     679st_dev     (0x0:0x0)
     680...st_ino     10         ( May vary slightly )
     681...st_mode    100000
     682...st_nlink   3
     683...st_uid     0
     684...st_gid     0
     685...st_rdev    (0x0:0x0)
     686...st_size    0
     687...st_atime   Sat Dec 31 09:00:00 1988
     688...st_mtime   Sat Dec 31 09:00:00 1988
     689...st_ctime   Sat Dec 31 09:00:10 1988
     690stat( links///links_d1_d1_f1 ) returned
     691st_dev     (0x0:0x0)
     692...st_ino     11         ( May vary slightly )
     693...st_mode    100000
     694...st_nlink   3
     695...st_uid     0
     696...st_gid     0
     697...st_rdev    (0x0:0x0)
     698...st_size    0
     699...st_atime   Sat Dec 31 09:00:00 1988
     700...st_mtime   Sat Dec 31 09:00:00 1988
     701...st_ctime   Sat Dec 31 09:00:10 1988
     702stat( links///links_r1_d1 f1 ) returned
     703st_dev     (0x0:0x0)
     704...st_ino     12         ( May vary slightly )
    716705...st_mode    100000
    717706...st_nlink   3
     
    724713...st_ctime   Sat Dec 31 09:00:10 1988
    725714chmod of /dir1/dir1 to Read/Write
    726 
    727715Doing the stat() on all the bad paths
    728716stat( /links/ENAMETOOLONG__________________________ ) returned : File or path name too long
     
    732720Making file /dir1/file4/NOTADIR : Not a directory
    733721Making file /dir1/dir1/EACCES__ : Permission denied
    734 
    735722Return /dir1/dir1 to RWX
    736723Making file /symlinks/a_file_symlink
     
    746733Making file /symlinks/links
    747734Verify with readlink
    748 stat( /symlinks/a_file_symlink ) returned 
    749 ...st_dev     (0x0:0x0)
    750 ...st_ino     c
    751 ...st_mode    100000
    752 ...st_nlink   3
    753 ...st_uid     0
    754 ...st_gid     0
    755 ...st_rdev    (0x0:0x0)
    756 ...st_size    0
    757 ...st_atime   Sat Dec 31 09:00:00 1988
    758 ...st_mtime   Sat Dec 31 09:00:00 1988
    759 ...st_ctime   Sat Dec 31 09:00:10 1988
    760 stat( /symlinks/a_dir_symlink ) returned 
    761 ...st_dev     (0x0:0x0)
    762 ...st_ino     4
     735stat( /symlinks/a_file_symlink ) returned
     736st_dev     (0x0:0x0)
     737...st_ino     d         ( May vary slightly )
     738...st_mode    100000
     739...st_nlink   3
     740...st_uid     0
     741...st_gid     0
     742...st_rdev    (0x0:0x0)
     743...st_size    0
     744...st_atime   Sat Dec 31 09:00:00 1988
     745...st_mtime   Sat Dec 31 09:00:00 1988
     746...st_ctime   Sat Dec 31 09:00:10 1988
     747stat( /symlinks/a_dir_symlink ) returned
     748st_dev     (0x0:0x0)
     749...st_ino     5         ( May vary slightly )
    763750...st_mode    40700
    764751...st_nlink   3
     
    770757...st_mtime   Sat Dec 31 09:00:00 1988
    771758...st_ctime   Sat Dec 31 09:00:05 1988
    772 stat( /symlinks/a_link_symlink ) returned 
    773 ...st_dev     (0x0:0x0)
    774 ...st_ino     4
     759stat( /symlinks/a_link_symlink ) returned
     760st_dev     (0x0:0x0)
     761...st_ino     5         ( May vary slightly )
    775762...st_mode    40700
    776763...st_nlink   3
     
    783770...st_ctime   Sat Dec 31 09:00:05 1988
    784771stat( ../symlinks/no_file ) returned : No such file or directory
    785 stat( /symlinks/a_dir_symlink/a_file_symlink ) returned 
    786 ...st_dev     (0x0:0x0)
    787 ...st_ino     4
     772stat( /symlinks/a_dir_symlink/a_file_symlink ) returned
     773st_dev     (0x0:0x0)
     774...st_ino     5         ( May vary slightly )
    788775...st_mode    40700
    789776...st_nlink   3
     
    813800Making file 9
    814801Verify with readlink
    815 stat( 1 ) returned 
    816 ...st_dev     (0x0:0x0)
    817 ...st_ino     b
     802stat( 1 ) returned
     803st_dev     (0x0:0x0)
     804...st_ino     c         ( May vary slightly )
    818805...st_mode    40700
    819806...st_nlink   1
     
    825812...st_mtime   Sat Dec 31 09:00:00 1988
    826813...st_ctime   Sat Dec 31 09:00:00 1988
    827 stat( 2 ) returned 
    828 ...st_dev     (0x0:0x0)
    829 ...st_ino     b
     814stat( 2 ) returned
     815st_dev     (0x0:0x0)
     816...st_ino     c         ( May vary slightly )
    830817...st_mode    40700
    831818...st_nlink   1
     
    837824...st_mtime   Sat Dec 31 09:00:00 1988
    838825...st_ctime   Sat Dec 31 09:00:00 1988
    839 stat( 3 ) returned 
    840 ...st_dev     (0x0:0x0)
    841 ...st_ino     b
     826stat( 3 ) returned
     827st_dev     (0x0:0x0)
     828...st_ino     c         ( May vary slightly )
    842829...st_mode    40700
    843830...st_nlink   1
     
    849836...st_mtime   Sat Dec 31 09:00:00 1988
    850837...st_ctime   Sat Dec 31 09:00:00 1988
    851 stat( 4 ) returned 
    852 ...st_dev     (0x0:0x0)
    853 ...st_ino     b
     838stat( 4 ) returned
     839st_dev     (0x0:0x0)
     840...st_ino     c         ( May vary slightly )
    854841...st_mode    40700
    855842...st_nlink   1
     
    866853stat( 8 ) returned : Too many symbolic links
    867854stat( 9 ) returned : Too many symbolic links
    868 
    869 
    870 Pass an invalid mode to chmod should fail with EPERM
     855Pass an invalid mode to chmod should fail with EPERM
    871856chdir to a file should fail with ENOTDIR
    872857Verify RWX permission on /dir1 via access
     
    876861chdir to /dir1/dir1 should fail with EACCES
    877862Stat with a NULL buffer should fail with EFAULT
    878 
    879 
    880863chmod of /dir1 to Read/Write
    881864mkdir /dir1/BADNAME should fail with EACCESS
    882 
    883865/dir1 Should exist ( access )
    884 
    885866/dir1 Should have read  permission( access )
    886 
    887867/dir1 Should have write permission( access )
    888 
    889868/dir1 Should not have execute permission( access )
    890 
    891869Restore /dir1 to RWX
    892 chdir to / 
     870chdir to /
    893871Remove /./././dir1/ dir1
    894872stat( /./././dir1/ dir1 ) returned : No such file or directory
    895 stat( links/dir1_ dir1 ) returned 
    896 ...st_dev     (0x0:0x0)
    897 ...st_ino     9
     873stat( links/dir1_ dir1 ) returned
     874st_dev     (0x0:0x0)
     875...st_ino     a         ( May vary slightly )
    898876...st_mode    40700
    899877...st_nlink   2
     
    905883...st_mtime   Sat Dec 31 09:00:00 1988
    906884...st_ctime   Sat Dec 31 09:00:20 1988
    907 stat( links//links_dir1 d1 ) returned 
    908 ...st_dev     (0x0:0x0)
    909 ...st_ino     9
     885stat( links//links_dir1 d1 ) returned
     886st_dev     (0x0:0x0)
     887...st_ino     a         ( May vary slightly )
    910888...st_mode    40700
    911889...st_nlink   2
     
    921899mkdir ../t should fail with ENOENT
    922900mkdir t
    923 chdir to / 
     901chdir to /
    924902rmdir links/dir1_ dir1 should fail with ENOTDIR
    925903unlink links/dir1_ dir1
     
    927905rmdir links//links_dir1 d1/t
    928906unlink links/dir1_ dir1
    929 Attempting to mount IMFS file system at /dir1/my_mount_point 
     907Attempting to mount IMFS file system at /dir1/my_mount_point
    930908rmdir /dir1/my_mount_point should fail with EBUSY
    931909Unmount /dir1/my_mount_point
    932 chmod of ////dir1/\//file1\\// to group and other execute
    933 Open ////dir1/\//file1\\// for write should fail with EACCES
     910chmod of ////dir1///file1\// to group and other execute
     911Open ////dir1///file1\// for write should fail with EACCES
    934912chmod of /dir4 to User Execute and Read
    935913Mkdir of /dir4/NewFile should fail with EACCES
    936  Making too many hard links.
     914Making too many hard links.
    937915Making file /LinkName1
    938916Making file /LinkName2
     
    944922Making file /LinkName8
    945923pass fstat a null pointer should fail with EFAULT
    946 chdir to / 
    947 Change group of ////dir1/\//file1\\//
    948 stat( ////dir1/\//file1\\// ) returned
    949 ...st_dev     (0x0:0x0)
    950 ...st_ino     c
     924chdir to /
     925Change group of ////dir1///file1\//
     926stat( ////dir1///file1\// ) returned
     927st_dev     (0x0:0x0)
     928...st_ino     d         ( May vary slightly )
    951929...st_mode    100011
    952930...st_nlink   3
     
    958936...st_mtime   Sat Dec 31 09:00:00 1988
    959937...st_ctime   Sat Dec 31 09:00:25 1988
    960 Change owner of ////dir1/\//file1\\//
    961 stat( ////dir1/\//file1\\// ) returned
    962 ...st_dev     (0x0:0x0)
    963 ...st_ino     c
     938Change owner of ////dir1///file1\//
     939stat( ////dir1///file1\// ) returned
     940st_dev     (0x0:0x0)
     941...st_ino     d         ( May vary slightly )
    964942...st_mode    100011
    965943...st_nlink   3
     
    972950...st_ctime   Sat Dec 31 09:00:25 1988
    973951Change group of /dir1/file2
    974 stat( /dir1/file2 ) returned 
    975 ...st_dev     (0x0:0x0)
    976 ...st_ino     d
     952stat( /dir1/file2 ) returned
     953st_dev     (0x0:0x0)
     954...st_ino     e         ( May vary slightly )
    977955...st_mode    100000
    978956...st_nlink   3
     
    985963...st_ctime   Sat Dec 31 09:00:25 1988
    986964Change owner of /dir1/file2
    987 stat( /dir1/file2 ) returned 
    988 ...st_dev     (0x0:0x0)
    989 ...st_ino     d
     965stat( /dir1/file2 ) returned
     966st_dev     (0x0:0x0)
     967...st_ino     e         ( May vary slightly )
    990968...st_mode    100000
    991969...st_nlink   3
     
    998976...st_ctime   Sat Dec 31 09:00:25 1988
    999977Change group of /dir1/file3
    1000 stat( /dir1/file3 ) returned 
    1001 ...st_dev     (0x0:0x0)
    1002 ...st_ino     e
     978stat( /dir1/file3 ) returned
     979st_dev     (0x0:0x0)
     980...st_ino     f         ( May vary slightly )
    1003981...st_mode    100000
    1004982...st_nlink   3
     
    1011989...st_ctime   Sat Dec 31 09:00:25 1988
    1012990Change owner of /dir1/file3
    1013 stat( /dir1/file3 ) returned 
    1014 ...st_dev     (0x0:0x0)
    1015 ...st_ino     e
     991stat( /dir1/file3 ) returned
     992st_dev     (0x0:0x0)
     993...st_ino     f         ( May vary slightly )
    1016994...st_mode    100000
    1017995...st_nlink   3
     
    10241002...st_ctime   Sat Dec 31 09:00:25 1988
    10251003Change group of /dir1/file4
    1026 stat( /dir1/file4 ) returned 
    1027 ...st_dev     (0x0:0x0)
    1028 ...st_ino     f
     1004stat( /dir1/file4 ) returned
     1005st_dev     (0x0:0x0)
     1006...st_ino     10         ( May vary slightly )
    10291007...st_mode    100000
    10301008...st_nlink   3
     
    10371015...st_ctime   Sat Dec 31 09:00:25 1988
    10381016Change owner of /dir1/file4
    1039 stat( /dir1/file4 ) returned 
    1040 ...st_dev     (0x0:0x0)
    1041 ...st_ino     f
     1017stat( /dir1/file4 ) returned
     1018st_dev     (0x0:0x0)
     1019...st_ino     10         ( May vary slightly )
    10421020...st_mode    100000
    10431021...st_nlink   3
     
    10501028...st_ctime   Sat Dec 31 09:00:25 1988
    10511029Change group of /dir1/dir1/file1
    1052 stat( /dir1/dir1/file1 ) returned 
    1053 ...st_dev     (0x0:0x0)
    1054 ...st_ino     10
     1030stat( /dir1/dir1/file1 ) returned
     1031st_dev     (0x0:0x0)
     1032...st_ino     11         ( May vary slightly )
    10551033...st_mode    100000
    10561034...st_nlink   3
     
    10631041...st_ctime   Sat Dec 31 09:00:25 1988
    10641042Change owner of /dir1/dir1/file1
    1065 stat( /dir1/dir1/file1 ) returned 
    1066 ...st_dev     (0x0:0x0)
    1067 ...st_ino     10
     1043stat( /dir1/dir1/file1 ) returned
     1044st_dev     (0x0:0x0)
     1045...st_ino     11         ( May vary slightly )
    10681046...st_mode    100000
    10691047...st_nlink   3
     
    10761054...st_ctime   Sat Dec 31 09:00:25 1988
    10771055Change group of ../../..//dir1/./././dir1/ file1
    1078 stat( ../../..//dir1/./././dir1/ file1 ) returned 
    1079 ...st_dev     (0x0:0x0)
    1080 ...st_ino     11
     1056stat( ../../..//dir1/./././dir1/ file1 ) returned
     1057st_dev     (0x0:0x0)
     1058...st_ino     12         ( May vary slightly )
    10811059...st_mode    100000
    10821060...st_nlink   3
     
    10891067...st_ctime   Sat Dec 31 09:00:25 1988
    10901068Change owner of ../../..//dir1/./././dir1/ file1
    1091 stat( ../../..//dir1/./././dir1/ file1 ) returned 
    1092 ...st_dev     (0x0:0x0)
    1093 ...st_ino     11
     1069stat( ../../..//dir1/./././dir1/ file1 ) returned
     1070st_dev     (0x0:0x0)
     1071...st_ino     12         ( May vary slightly )
    10941072...st_mode    100000
    10951073...st_nlink   3
     
    11021080...st_ctime   Sat Dec 31 09:00:25 1988
    11031081Change group of main.c
    1104 stat( main.c ) returned 
    1105 ...st_dev     (0x0:0x0)
    1106 ...st_ino     12
     1082stat( main.c ) returned
     1083st_dev     (0x0:0x0)
     1084...st_ino     13         ( May vary slightly )
    11071085...st_mode    100000
    11081086...st_nlink   1
     
    11151093...st_ctime   Sat Dec 31 09:00:25 1988
    11161094Change owner of main.c
    1117 stat( main.c ) returned 
    1118 ...st_dev     (0x0:0x0)
    1119 ...st_ino     12
     1095stat( main.c ) returned
     1096st_dev     (0x0:0x0)
     1097...st_ino     13         ( May vary slightly )
    11201098...st_mode    100000
    11211099...st_nlink   1
     
    11281106...st_ctime   Sat Dec 31 09:00:25 1988
    11291107Change group of dir1/dir1/../../links/dir1
    1130 stat( dir1/dir1/../../links/dir1 ) returned 
    1131 ...st_dev     (0x0:0x0)
    1132 ...st_ino     4
     1108stat( dir1/dir1/../../links/dir1 ) returned
     1109st_dev     (0x0:0x0)
     1110...st_ino     5         ( May vary slightly )
    11331111...st_mode    40700
    11341112...st_nlink   3
     
    11431121stat( dir1/dir1/../../links/dir1 ) returned : Permission denied
    11441122Change group of links/dir2
    1145 stat( links/dir2 ) returned 
    1146 ...st_dev     (0x0:0x0)
    1147 ...st_ino     5
     1123stat( links/dir2 ) returned
     1124st_dev     (0x0:0x0)
     1125...st_ino     6         ( May vary slightly )
    11481126...st_mode    40700
    11491127...st_nlink   3
     
    11561134...st_ctime   Sat Dec 31 09:00:30 1988
    11571135Change owner of links/dir2
    1158 stat( links/dir2 ) returned 
    1159 ...st_dev     (0x0:0x0)
    1160 ...st_ino     5
     1136stat( links/dir2 ) returned
     1137st_dev     (0x0:0x0)
     1138...st_ino     6         ( May vary slightly )
    11611139...st_mode    40700
    11621140...st_nlink   3
     
    11691147...st_ctime   Sat Dec 31 09:00:30 1988
    11701148Change group of links/dir3
    1171 stat( links/dir3 ) returned 
    1172 ...st_dev     (0x0:0x0)
    1173 ...st_ino     6
     1149stat( links/dir3 ) returned
     1150st_dev     (0x0:0x0)
     1151...st_ino     7         ( May vary slightly )
    11741152...st_mode    40700
    11751153...st_nlink   3
     
    11821160...st_ctime   Sat Dec 31 09:00:30 1988
    11831161Change owner of links/dir3
    1184 stat( links/dir3 ) returned 
    1185 ...st_dev     (0x0:0x0)
    1186 ...st_ino     6
     1162stat( links/dir3 ) returned
     1163st_dev     (0x0:0x0)
     1164...st_ino     7         ( May vary slightly )
    11871165...st_mode    40700
    11881166...st_nlink   3
     
    11951173...st_ctime   Sat Dec 31 09:00:30 1988
    11961174Change group of links/dir4
    1197 stat( links/dir4 ) returned 
    1198 ...st_dev     (0x0:0x0)
    1199 ...st_ino     7
     1175stat( links/dir4 ) returned
     1176st_dev     (0x0:0x0)
     1177...st_ino     8         ( May vary slightly )
    12001178...st_mode    40500
    12011179...st_nlink   3
     
    12081186...st_ctime   Sat Dec 31 09:00:30 1988
    12091187Change owner of links/dir4
    1210 stat( links/dir4 ) returned 
    1211 ...st_dev     (0x0:0x0)
    1212 ...st_ino     7
     1188stat( links/dir4 ) returned
     1189st_dev     (0x0:0x0)
     1190...st_ino     8         ( May vary slightly )
    12131191...st_mode    40500
    12141192...st_nlink   3
     
    12211199...st_ctime   Sat Dec 31 09:00:30 1988
    12221200Change group of links/dir1_dir1
    1223 stat( links/dir1_dir1 ) returned 
    1224 ...st_dev     (0x0:0x0)
    1225 ...st_ino     8
     1201stat( links/dir1_dir1 ) returned
     1202st_dev     (0x0:0x0)
     1203...st_ino     9         ( May vary slightly )
    12261204...st_mode    40700
    12271205...st_nlink   3
     
    12341212...st_ctime   Sat Dec 31 09:00:30 1988
    12351213Change owner of links/dir1_dir1
    1236 stat( links/dir1_dir1 ) returned 
    1237 ...st_dev     (0x0:0x0)
    1238 ...st_ino     8
     1214stat( links/dir1_dir1 ) returned
     1215st_dev     (0x0:0x0)
     1216...st_ino     9         ( May vary slightly )
    12391217...st_mode    40700
    12401218...st_nlink   3
     
    12511229stat( links/dir1_ dir1 ) returned : No such file or directory
    12521230Change group of links/../links/../links/links
    1253 stat( links/../links/../links/links ) returned 
    1254 ...st_dev     (0x0:0x0)
    1255 ...st_ino     a
     1231stat( links/../links/../links/links ) returned
     1232st_dev     (0x0:0x0)
     1233...st_ino     b         ( May vary slightly )
    12561234...st_mode    40700
    12571235...st_nlink   3
     
    12651243Change owner of links/../links/../links/links
    12661244stat( links/../links/../links/links ) returned : Permission denied
    1267 
    1268 
    12691245*** END OF STAT TEST 01 ***
  • testsuites/psxtests/psxstat/psxstat.scn

    re9b00d7 rf9879915  
    1111Making directory /./././links
    1212Making directory ///dir1/dir1/../../dir1/../symlinks/////
    13 
    14 Making file ////dir1/\//file1\\//
     13Making file ////dir1///file1\//
    1514Making file /dir1/file2
    1615Making file /dir1/file3
     
    1918Making file ../../..//dir1/./././dir1/ file1
    2019Making file main.c
    21 
    2220Making file dir1/dir1/../../links/dir1
    2321Making file links/dir2
     
    2725Making file links/dir1_ dir1
    2826Making file links/../links/../links/links
    29 
    3027Making file links/dir1_file1
    3128Making file links/dir1_file2
     
    3431Making file links/dir1_dir1_f1
    3532Making file links/dir1_dir1 f1
    36 
    3733Making file links/links/links/links_dir1
    3834Making file links//links_dir2
     
    4238Making file links//links_dir1 d1
    4339Making file links//links_links
    44 
    4540Making file links///links_d1_file1
    4641Making file links///links_d1_file2
     
    4944Making file links///links_d1_d1_f1
    5045Making file links///links_r1_d1 f1
    51 
    5246Doing the stat() on all the good absolute paths
    53 stat( /dev ) returned 
    54 ...st_dev     (0x0:0x0)
    55 ...st_ino     2
     47stat( /dev ) returned
     48st_dev     (0x0:0x0)
     49...st_ino     2         ( May vary slightly )
    5650...st_mode    40771
    5751...st_nlink   1
     
    5953...st_gid     0
    6054...st_rdev    (0x0:0x0)
    61 ...st_size    268
     55...st_size    536
    6256...st_atime   Fri Jan 01 00:00:00 1988
    6357...st_mtime   Fri Jan 01 00:00:00 1988
    6458...st_ctime   Fri Jan 01 00:00:00 1988
    65 stat( ////dir1/\//file1\\// ) returned
    66 ...st_dev     (0x0:0x0)
    67 ...st_ino     c
    68 ...st_mode    100000
    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 stat( /dir1/\\/file2 ) returned
    78 ...st_dev     (0x0:0x0)
    79 ...st_ino     d
    80 ...st_mode    100000
    81 ...st_nlink   3
    82 ...st_uid     0
    83 ...st_gid     0
    84 ...st_rdev    (0x0:0x0)
    85 ...st_size    0
    86 ...st_atime   Sat Dec 31 09:00:00 1988
    87 ...st_mtime   Sat Dec 31 09:00:00 1988
    88 ...st_ctime   Sat Dec 31 09:00:10 1988
    89 stat( /dir1/file3/////\\\ ) returned
    90 ...st_dev     (0x0:0x0)
    91 ...st_ino     e
    92 ...st_mode    100000
    93 ...st_nlink   3
    94 ...st_uid     0
    95 ...st_gid     0
    96 ...st_rdev    (0x0:0x0)
    97 ...st_size    0
    98 ...st_atime   Sat Dec 31 09:00:00 1988
    99 ...st_mtime   Sat Dec 31 09:00:00 1988
    100 ...st_ctime   Sat Dec 31 09:00:10 1988
    101 stat( /dir1/file4 ) returned 
    102 ...st_dev     (0x0:0x0)
    103 ...st_ino     f
    104 ...st_mode    100000
    105 ...st_nlink   3
    106 ...st_uid     0
    107 ...st_gid     0
    108 ...st_rdev    (0x0:0x0)
    109 ...st_size    0
    110 ...st_atime   Sat Dec 31 09:00:00 1988
    111 ...st_mtime   Sat Dec 31 09:00:00 1988
    112 ...st_ctime   Sat Dec 31 09:00:10 1988
    113 stat( /dir1/dir1/file1 ) returned 
    114 ...st_dev     (0x0:0x0)
    115 ...st_ino     10
    116 ...st_mode    100000
    117 ...st_nlink   3
    118 ...st_uid     0
    119 ...st_gid     0
    120 ...st_rdev    (0x0:0x0)
    121 ...st_size    0
    122 ...st_atime   Sat Dec 31 09:00:00 1988
    123 ...st_mtime   Sat Dec 31 09:00:00 1988
    124 ...st_ctime   Sat Dec 31 09:00:10 1988
    125 stat( /dir1/dir1/ file1 ) returned 
    126 ...st_dev     (0x0:0x0)
    127 ...st_ino     11
    128 ...st_mode    100000
    129 ...st_nlink   3
    130 ...st_uid     0
    131 ...st_gid     0
    132 ...st_rdev    (0x0:0x0)
    133 ...st_size    0
    134 ...st_atime   Sat Dec 31 09:00:00 1988
    135 ...st_mtime   Sat Dec 31 09:00:00 1988
    136 ...st_ctime   Sat Dec 31 09:00:10 1988
    137 stat( /dir1 ) returned 
    138 ...st_dev     (0x0:0x0)
    139 ...st_ino     4
     59stat( ////dir1///file1\// ) returned
     60st_dev     (0x0:0x0)
     61...st_ino     d         ( May vary slightly )
     62...st_mode    100000
     63...st_nlink   3
     64...st_uid     0
     65...st_gid     0
     66...st_rdev    (0x0:0x0)
     67...st_size    0
     68...st_atime   Sat Dec 31 09:00:00 1988
     69...st_mtime   Sat Dec 31 09:00:00 1988
     70...st_ctime   Sat Dec 31 09:00:10 1988
     71stat( /dir1/\/file2 ) returned
     72st_dev     (0x0:0x0)
     73...st_ino     e         ( May vary slightly )
     74...st_mode    100000
     75...st_nlink   3
     76...st_uid     0
     77...st_gid     0
     78...st_rdev    (0x0:0x0)
     79...st_size    0
     80...st_atime   Sat Dec 31 09:00:00 1988
     81...st_mtime   Sat Dec 31 09:00:00 1988
     82...st_ctime   Sat Dec 31 09:00:10 1988
     83stat( /dir1/file3/////\ ) returned
     84st_dev     (0x0:0x0)
     85...st_ino     f         ( May vary slightly )
     86...st_mode    100000
     87...st_nlink   3
     88...st_uid     0
     89...st_gid     0
     90...st_rdev    (0x0:0x0)
     91...st_size    0
     92...st_atime   Sat Dec 31 09:00:00 1988
     93...st_mtime   Sat Dec 31 09:00:00 1988
     94...st_ctime   Sat Dec 31 09:00:10 1988
     95stat( /dir1/file4 ) returned
     96st_dev     (0x0:0x0)
     97...st_ino     10         ( May vary slightly )
     98...st_mode    100000
     99...st_nlink   3
     100...st_uid     0
     101...st_gid     0
     102...st_rdev    (0x0:0x0)
     103...st_size    0
     104...st_atime   Sat Dec 31 09:00:00 1988
     105...st_mtime   Sat Dec 31 09:00:00 1988
     106...st_ctime   Sat Dec 31 09:00:10 1988
     107stat( /dir1/dir1/file1 ) returned
     108st_dev     (0x0:0x0)
     109...st_ino     11         ( May vary slightly )
     110...st_mode    100000
     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
     119stat( /dir1/dir1/ file1 ) returned
     120st_dev     (0x0:0x0)
     121...st_ino     12         ( May vary slightly )
     122...st_mode    100000
     123...st_nlink   3
     124...st_uid     0
     125...st_gid     0
     126...st_rdev    (0x0:0x0)
     127...st_size    0
     128...st_atime   Sat Dec 31 09:00:00 1988
     129...st_mtime   Sat Dec 31 09:00:00 1988
     130...st_ctime   Sat Dec 31 09:00:10 1988
     131stat( /dir1 ) returned
     132st_dev     (0x0:0x0)
     133...st_ino     5         ( May vary slightly )
    140134...st_mode    40700
    141135...st_nlink   3
     
    147141...st_mtime   Sat Dec 31 09:00:00 1988
    148142...st_ctime   Sat Dec 31 09:00:05 1988
    149 stat( /dir2//////\ ) returned
    150 ...st_dev     (0x0:0x0)
    151 ...st_ino     5
    152 ...st_mode    40700
    153 ...st_nlink   3
    154 ...st_uid     0
    155 ...st_gid     0
    156 ...st_rdev    (0x0:0x0)
    157 ...st_size    0
    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 stat( /dir3 ) returned 
    162 ...st_dev     (0x0:0x0)
    163 ...st_ino     6
    164 ...st_mode    40700
    165 ...st_nlink   3
    166 ...st_uid     0
    167 ...st_gid     0
    168 ...st_rdev    (0x0:0x0)
    169 ...st_size    0
    170 ...st_atime   Sat Dec 31 09:00:00 1988
    171 ...st_mtime   Sat Dec 31 09:00:00 1988
    172 ...st_ctime   Sat Dec 31 09:00:05 1988
    173 stat( /dir4 ) returned 
    174 ...st_dev     (0x0:0x0)
    175 ...st_ino     7
    176 ...st_mode    40700
    177 ...st_nlink   3
    178 ...st_uid     0
    179 ...st_gid     0
    180 ...st_rdev    (0x0:0x0)
    181 ...st_size    0
    182 ...st_atime   Sat Dec 31 09:00:00 1988
    183 ...st_mtime   Sat Dec 31 09:00:00 1988
    184 ...st_ctime   Sat Dec 31 09:00:05 1988
    185 stat( /dir1/dir1 ) returned 
    186 ...st_dev     (0x0:0x0)
    187 ...st_ino     8
     143stat( /dir2////// ) returned
     144st_dev     (0x0:0x0)
     145...st_ino     6         ( May vary slightly )
     146...st_mode    40700
     147...st_nlink   3
     148...st_uid     0
     149...st_gid     0
     150...st_rdev    (0x0:0x0)
     151...st_size    0
     152...st_atime   Sat Dec 31 09:00:00 1988
     153...st_mtime   Sat Dec 31 09:00:00 1988
     154...st_ctime   Sat Dec 31 09:00:05 1988
     155stat( /dir3 ) returned
     156st_dev     (0x0:0x0)
     157...st_ino     7         ( May vary slightly )
     158...st_mode    40700
     159...st_nlink   3
     160...st_uid     0
     161...st_gid     0
     162...st_rdev    (0x0:0x0)
     163...st_size    0
     164...st_atime   Sat Dec 31 09:00:00 1988
     165...st_mtime   Sat Dec 31 09:00:00 1988
     166...st_ctime   Sat Dec 31 09:00:05 1988
     167stat( /dir4 ) returned
     168st_dev     (0x0:0x0)
     169...st_ino     8         ( May vary slightly )
     170...st_mode    40700
     171...st_nlink   3
     172...st_uid     0
     173...st_gid     0
     174...st_rdev    (0x0:0x0)
     175...st_size    0
     176...st_atime   Sat Dec 31 09:00:00 1988
     177...st_mtime   Sat Dec 31 09:00:00 1988
     178...st_ctime   Sat Dec 31 09:00:05 1988
     179stat( /dir1/dir1 ) returned
     180st_dev     (0x0:0x0)
     181...st_ino     9         ( May vary slightly )
    188182...st_mode    40700
    189183...st_nlink   3
     
    195189...st_mtime   Sat Dec 31 09:00:00 1988
    196190...st_ctime   Sat Dec 31 09:00:05 1988
    197 stat( /dir1/ dir1///\\ ) returned
    198 ...st_dev     (0x0:0x0)
    199 ...st_ino     9
    200 ...st_mode    40700
    201 ...st_nlink   3
    202 ...st_uid     0
    203 ...st_gid     0
    204 ...st_rdev    (0x0:0x0)
    205 ...st_size    0
    206 ...st_atime   Sat Dec 31 09:00:00 1988
    207 ...st_mtime   Sat Dec 31 09:00:00 1988
    208 ...st_ctime   Sat Dec 31 09:00:05 1988
    209 stat( /\/\/\/\/\/\/links\/\/\/\/\/\ ) returned
    210 ...st_dev     (0x0:0x0)
    211 ...st_ino     a
     191stat( /dir1/ dir1///\ ) returned
     192st_dev     (0x0:0x0)
     193...st_ino     a         ( May vary slightly )
     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
     203stat( ///////links///// ) returned
     204st_dev     (0x0:0x0)
     205...st_ino     b         ( May vary slightly )
    212206...st_mode    40700
    213207...st_nlink   3
     
    219213...st_mtime   Sat Dec 31 09:00:00 1988
    220214...st_ctime   Sat Dec 31 09:00:05 1988
    221 
    222215Doing the stat() on all the good relative paths
    223 stat( dev ) returned 
    224 ...st_dev     (0x0:0x0)
    225 ...st_ino     2
     216stat( dev ) returned
     217st_dev     (0x0:0x0)
     218...st_ino     2         ( May vary slightly )
    226219...st_mode    40771
    227220...st_nlink   1
     
    229222...st_gid     0
    230223...st_rdev    (0x0:0x0)
    231 ...st_size    268
     224...st_size    536
    232225...st_atime   Fri Jan 01 00:00:00 1988
    233226...st_mtime   Fri Jan 01 00:00:00 1988
    234227...st_ctime   Fri Jan 01 00:00:00 1988
    235 stat( dir1/\//file1\\// ) returned
    236 ...st_dev     (0x0:0x0)
    237 ...st_ino     c
    238 ...st_mode    100000
    239 ...st_nlink   3
    240 ...st_uid     0
    241 ...st_gid     0
    242 ...st_rdev    (0x0:0x0)
    243 ...st_size    0
    244 ...st_atime   Sat Dec 31 09:00:00 1988
    245 ...st_mtime   Sat Dec 31 09:00:00 1988
    246 ...st_ctime   Sat Dec 31 09:00:10 1988
    247 stat( dir1/\\/file2 ) returned
    248 ...st_dev     (0x0:0x0)
    249 ...st_ino     d
    250 ...st_mode    100000
    251 ...st_nlink   3
    252 ...st_uid     0
    253 ...st_gid     0
    254 ...st_rdev    (0x0:0x0)
    255 ...st_size    0
    256 ...st_atime   Sat Dec 31 09:00:00 1988
    257 ...st_mtime   Sat Dec 31 09:00:00 1988
    258 ...st_ctime   Sat Dec 31 09:00:10 1988
    259 stat( dir1/file3/////\\\ ) returned
    260 ...st_dev     (0x0:0x0)
    261 ...st_ino     e
    262 ...st_mode    100000
    263 ...st_nlink   3
    264 ...st_uid     0
    265 ...st_gid     0
    266 ...st_rdev    (0x0:0x0)
    267 ...st_size    0
    268 ...st_atime   Sat Dec 31 09:00:00 1988
    269 ...st_mtime   Sat Dec 31 09:00:00 1988
    270 ...st_ctime   Sat Dec 31 09:00:10 1988
    271 stat( dir1/file4 ) returned 
    272 ...st_dev     (0x0:0x0)
    273 ...st_ino     f
    274 ...st_mode    100000
    275 ...st_nlink   3
    276 ...st_uid     0
    277 ...st_gid     0
    278 ...st_rdev    (0x0:0x0)
    279 ...st_size    0
    280 ...st_atime   Sat Dec 31 09:00:00 1988
    281 ...st_mtime   Sat Dec 31 09:00:00 1988
    282 ...st_ctime   Sat Dec 31 09:00:10 1988
    283 stat( dir1/dir1/file1 ) returned 
    284 ...st_dev     (0x0:0x0)
    285 ...st_ino     10
    286 ...st_mode    100000
    287 ...st_nlink   3
    288 ...st_uid     0
    289 ...st_gid     0
    290 ...st_rdev    (0x0:0x0)
    291 ...st_size    0
    292 ...st_atime   Sat Dec 31 09:00:00 1988
    293 ...st_mtime   Sat Dec 31 09:00:00 1988
    294 ...st_ctime   Sat Dec 31 09:00:10 1988
    295 stat( dir1/dir1/ file1 ) returned 
    296 ...st_dev     (0x0:0x0)
    297 ...st_ino     11
    298 ...st_mode    100000
    299 ...st_nlink   3
    300 ...st_uid     0
    301 ...st_gid     0
    302 ...st_rdev    (0x0:0x0)
    303 ...st_size    0
    304 ...st_atime   Sat Dec 31 09:00:00 1988
    305 ...st_mtime   Sat Dec 31 09:00:00 1988
    306 ...st_ctime   Sat Dec 31 09:00:10 1988
    307 stat( dir1 ) returned 
    308 ...st_dev     (0x0:0x0)
    309 ...st_ino     4
     228stat( dir1///file1\// ) returned
     229st_dev     (0x0:0x0)
     230...st_ino     d         ( May vary slightly )
     231...st_mode    100000
     232...st_nlink   3
     233...st_uid     0
     234...st_gid     0
     235...st_rdev    (0x0:0x0)
     236...st_size    0
     237...st_atime   Sat Dec 31 09:00:00 1988
     238...st_mtime   Sat Dec 31 09:00:00 1988
     239...st_ctime   Sat Dec 31 09:00:10 1988
     240stat( dir1/\/file2 ) returned
     241st_dev     (0x0:0x0)
     242...st_ino     e         ( May vary slightly )
     243...st_mode    100000
     244...st_nlink   3
     245...st_uid     0
     246...st_gid     0
     247...st_rdev    (0x0:0x0)
     248...st_size    0
     249...st_atime   Sat Dec 31 09:00:00 1988
     250...st_mtime   Sat Dec 31 09:00:00 1988
     251...st_ctime   Sat Dec 31 09:00:10 1988
     252stat( dir1/file3/////\ ) returned
     253st_dev     (0x0:0x0)
     254...st_ino     f         ( May vary slightly )
     255...st_mode    100000
     256...st_nlink   3
     257...st_uid     0
     258...st_gid     0
     259...st_rdev    (0x0:0x0)
     260...st_size    0
     261...st_atime   Sat Dec 31 09:00:00 1988
     262...st_mtime   Sat Dec 31 09:00:00 1988
     263...st_ctime   Sat Dec 31 09:00:10 1988
     264stat( dir1/file4 ) returned
     265st_dev     (0x0:0x0)
     266...st_ino     10         ( May vary slightly )
     267...st_mode    100000
     268...st_nlink   3
     269...st_uid     0
     270...st_gid     0
     271...st_rdev    (0x0:0x0)
     272...st_size    0
     273...st_atime   Sat Dec 31 09:00:00 1988
     274...st_mtime   Sat Dec 31 09:00:00 1988
     275...st_ctime   Sat Dec 31 09:00:10 1988
     276stat( dir1/dir1/file1 ) returned
     277st_dev     (0x0:0x0)
     278...st_ino     11         ( May vary slightly )
     279...st_mode    100000
     280...st_nlink   3
     281...st_uid     0
     282...st_gid     0
     283...st_rdev    (0x0:0x0)
     284...st_size    0
     285...st_atime   Sat Dec 31 09:00:00 1988
     286...st_mtime   Sat Dec 31 09:00:00 1988
     287...st_ctime   Sat Dec 31 09:00:10 1988
     288stat( dir1/dir1/ file1 ) returned
     289st_dev     (0x0:0x0)
     290...st_ino     12         ( May vary slightly )
     291...st_mode    100000
     292...st_nlink   3
     293...st_uid     0
     294...st_gid     0
     295...st_rdev    (0x0:0x0)
     296...st_size    0
     297...st_atime   Sat Dec 31 09:00:00 1988
     298...st_mtime   Sat Dec 31 09:00:00 1988
     299...st_ctime   Sat Dec 31 09:00:10 1988
     300stat( dir1 ) returned
     301st_dev     (0x0:0x0)
     302...st_ino     5         ( May vary slightly )
    310303...st_mode    40700
    311304...st_nlink   3
     
    317310...st_mtime   Sat Dec 31 09:00:00 1988
    318311...st_ctime   Sat Dec 31 09:00:05 1988
    319 stat( dir2//////\ ) returned
    320 ...st_dev     (0x0:0x0)
    321 ...st_ino     5
    322 ...st_mode    40700
    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:05 1988
    331 stat( dir3 ) returned 
    332 ...st_dev     (0x0:0x0)
    333 ...st_ino     6
    334 ...st_mode    40700
    335 ...st_nlink   3
    336 ...st_uid     0
    337 ...st_gid     0
    338 ...st_rdev    (0x0:0x0)
    339 ...st_size    0
    340 ...st_atime   Sat Dec 31 09:00:00 1988
    341 ...st_mtime   Sat Dec 31 09:00:00 1988
    342 ...st_ctime   Sat Dec 31 09:00:05 1988
    343 stat( dir4 ) returned 
    344 ...st_dev     (0x0:0x0)
    345 ...st_ino     7
    346 ...st_mode    40700
    347 ...st_nlink   3
    348 ...st_uid     0
    349 ...st_gid     0
    350 ...st_rdev    (0x0:0x0)
    351 ...st_size    0
    352 ...st_atime   Sat Dec 31 09:00:00 1988
    353 ...st_mtime   Sat Dec 31 09:00:00 1988
    354 ...st_ctime   Sat Dec 31 09:00:05 1988
    355 stat( dir1/dir1 ) returned 
    356 ...st_dev     (0x0:0x0)
    357 ...st_ino     8
     312stat( dir2////// ) returned
     313st_dev     (0x0:0x0)
     314...st_ino     6         ( May vary slightly )
     315...st_mode    40700
     316...st_nlink   3
     317...st_uid     0
     318...st_gid     0
     319...st_rdev    (0x0:0x0)
     320...st_size    0
     321...st_atime   Sat Dec 31 09:00:00 1988
     322...st_mtime   Sat Dec 31 09:00:00 1988
     323...st_ctime   Sat Dec 31 09:00:05 1988
     324stat( dir3 ) returned
     325st_dev     (0x0:0x0)
     326...st_ino     7         ( May vary slightly )
     327...st_mode    40700
     328...st_nlink   3
     329...st_uid     0
     330...st_gid     0
     331...st_rdev    (0x0:0x0)
     332...st_size    0
     333...st_atime   Sat Dec 31 09:00:00 1988
     334...st_mtime   Sat Dec 31 09:00:00 1988
     335...st_ctime   Sat Dec 31 09:00:05 1988
     336stat( dir4 ) returned
     337st_dev     (0x0:0x0)
     338...st_ino     8         ( May vary slightly )
     339...st_mode    40700
     340...st_nlink   3
     341...st_uid     0
     342...st_gid     0
     343...st_rdev    (0x0:0x0)
     344...st_size    0
     345...st_atime   Sat Dec 31 09:00:00 1988
     346...st_mtime   Sat Dec 31 09:00:00 1988
     347...st_ctime   Sat Dec 31 09:00:05 1988
     348stat( dir1/dir1 ) returned
     349st_dev     (0x0:0x0)
     350...st_ino     9         ( May vary slightly )
    358351...st_mode    40700
    359352...st_nlink   3
     
    365358...st_mtime   Sat Dec 31 09:00:00 1988
    366359...st_ctime   Sat Dec 31 09:00:05 1988
    367 stat( dir1/ dir1///\\ ) returned
    368 ...st_dev     (0x0:0x0)
    369 ...st_ino     9
    370 ...st_mode    40700
    371 ...st_nlink   3
    372 ...st_uid     0
    373 ...st_gid     0
    374 ...st_rdev    (0x0:0x0)
    375 ...st_size    0
    376 ...st_atime   Sat Dec 31 09:00:00 1988
    377 ...st_mtime   Sat Dec 31 09:00:00 1988
    378 ...st_ctime   Sat Dec 31 09:00:05 1988
    379 stat( main.c ) returned 
    380 ...st_dev     (0x0:0x0)
    381 ...st_ino     12
     360stat( dir1/ dir1///\ ) returned
     361st_dev     (0x0:0x0)
     362...st_ino     a         ( May vary slightly )
     363...st_mode    40700
     364...st_nlink   3
     365...st_uid     0
     366...st_gid     0
     367...st_rdev    (0x0:0x0)
     368...st_size    0
     369...st_atime   Sat Dec 31 09:00:00 1988
     370...st_mtime   Sat Dec 31 09:00:00 1988
     371...st_ctime   Sat Dec 31 09:00:05 1988
     372stat( main.c ) returned
     373st_dev     (0x0:0x0)
     374...st_ino     13         ( May vary slightly )
    382375...st_mode    100000
    383376...st_nlink   1
     
    389382...st_mtime   Sat Dec 31 09:00:00 1988
    390383...st_ctime   Sat Dec 31 09:00:00 1988
    391 
    392384chdir to dev
    393 
    394385stat relative paths that are now bad
    395386stat( dev ) returned : No such file or directory
    396 stat( dir1/\//file1\\// ) returned : No such file or directory
    397 stat( dir1/\\/file2 ) returned : No such file or directory
    398 stat( dir1/file3/////\\\ ) returned : No such file or directory
     387stat( dir1///file1\// ) returned : No such file or directory
     388stat( dir1/\/file2 ) returned : No such file or directory
     389stat( dir1/file3/////\ ) returned : No such file or directory
    399390stat( dir1/file4 ) returned : No such file or directory
    400391stat( dir1/dir1/file1 ) returned : No such file or directory
    401392stat( dir1/dir1/ file1 ) returned : No such file or directory
    402393stat( dir1 ) returned : No such file or directory
    403 stat( dir2//////\ ) returned : No such file or directory
     394stat( dir2////// ) returned : No such file or directory
    404395stat( dir3 ) returned : No such file or directory
    405396stat( dir4 ) returned : No such file or directory
    406397stat( dir1/dir1 ) returned : No such file or directory
    407 stat( dir1/ dir1///\\ ) returned : No such file or directory
     398stat( dir1/ dir1///\ ) returned : No such file or directory
    408399stat( main.c ) returned : No such file or directory
    409 
    410400chdir to ../links
    411401Doing the stat() on good links
    412 
    413 stat( dir1/dir1/../../links/dir1 ) returned
    414 ...st_dev     (0x0:0x0)
    415 ...st_ino     4
     402stat( dir1/dir1/../../links/dir1 ) returned
     403st_dev     (0x0:0x0)
     404...st_ino     5         ( May vary slightly )
    416405...st_mode    40700
    417406...st_nlink   3
     
    423412...st_mtime   Sat Dec 31 09:00:00 1988
    424413...st_ctime   Sat Dec 31 09:00:05 1988
    425 stat( links/dir2 ) returned 
    426 ...st_dev     (0x0:0x0)
    427 ...st_ino     5
    428 ...st_mode    40700
    429 ...st_nlink   3
    430 ...st_uid     0
    431 ...st_gid     0
    432 ...st_rdev    (0x0:0x0)
    433 ...st_size    0
    434 ...st_atime   Sat Dec 31 09:00:00 1988
    435 ...st_mtime   Sat Dec 31 09:00:00 1988
    436 ...st_ctime   Sat Dec 31 09:00:05 1988
    437 stat( links/dir3 ) returned 
    438 ...st_dev     (0x0:0x0)
    439 ...st_ino     6
    440 ...st_mode    40700
    441 ...st_nlink   3
    442 ...st_uid     0
    443 ...st_gid     0
    444 ...st_rdev    (0x0:0x0)
    445 ...st_size    0
    446 ...st_atime   Sat Dec 31 09:00:00 1988
    447 ...st_mtime   Sat Dec 31 09:00:00 1988
    448 ...st_ctime   Sat Dec 31 09:00:05 1988
    449 stat( links/dir4 ) returned 
    450 ...st_dev     (0x0:0x0)
    451 ...st_ino     7
    452 ...st_mode    40700
    453 ...st_nlink   3
    454 ...st_uid     0
    455 ...st_gid     0
    456 ...st_rdev    (0x0:0x0)
    457 ...st_size    0
    458 ...st_atime   Sat Dec 31 09:00:00 1988
    459 ...st_mtime   Sat Dec 31 09:00:00 1988
    460 ...st_ctime   Sat Dec 31 09:00:05 1988
    461 stat( links/dir1_dir1 ) returned 
    462 ...st_dev     (0x0:0x0)
    463 ...st_ino     8
     414stat( links/dir2 ) returned
     415st_dev     (0x0:0x0)
     416...st_ino     6         ( May vary slightly )
     417...st_mode    40700
     418...st_nlink   3
     419...st_uid     0
     420...st_gid     0
     421...st_rdev    (0x0:0x0)
     422...st_size    0
     423...st_atime   Sat Dec 31 09:00:00 1988
     424...st_mtime   Sat Dec 31 09:00:00 1988
     425...st_ctime   Sat Dec 31 09:00:05 1988
     426stat( links/dir3 ) returned
     427st_dev     (0x0:0x0)
     428...st_ino     7         ( May vary slightly )
     429...st_mode    40700
     430...st_nlink   3
     431...st_uid     0
     432...st_gid     0
     433...st_rdev    (0x0:0x0)
     434...st_size    0
     435...st_atime   Sat Dec 31 09:00:00 1988
     436...st_mtime   Sat Dec 31 09:00:00 1988
     437...st_ctime   Sat Dec 31 09:00:05 1988
     438stat( links/dir4 ) returned
     439st_dev     (0x0:0x0)
     440...st_ino     8         ( May vary slightly )
     441...st_mode    40700
     442...st_nlink   3
     443...st_uid     0
     444...st_gid     0
     445...st_rdev    (0x0:0x0)
     446...st_size    0
     447...st_atime   Sat Dec 31 09:00:00 1988
     448...st_mtime   Sat Dec 31 09:00:00 1988
     449...st_ctime   Sat Dec 31 09:00:05 1988
     450stat( links/dir1_dir1 ) returned
     451st_dev     (0x0:0x0)
     452...st_ino     9         ( May vary slightly )
    464453...st_mode    40700
    465454...st_nlink   3
     
    471460...st_mtime   Sat Dec 31 09:00:00 1988
    472461...st_ctime   Sat Dec 31 09:00:05 1988
    473 stat( links/dir1_ dir1 ) returned 
    474 ...st_dev     (0x0:0x0)
    475 ...st_ino     9
    476 ...st_mode    40700
    477 ...st_nlink   3
    478 ...st_uid     0
    479 ...st_gid     0
    480 ...st_rdev    (0x0:0x0)
    481 ...st_size    0
    482 ...st_atime   Sat Dec 31 09:00:00 1988
    483 ...st_mtime   Sat Dec 31 09:00:00 1988
    484 ...st_ctime   Sat Dec 31 09:00:05 1988
    485 stat( links/../links/../links/links ) returned 
    486 ...st_dev     (0x0:0x0)
    487 ...st_ino     a
     462stat( links/dir1_ dir1 ) returned
     463st_dev     (0x0:0x0)
     464...st_ino     a         ( May vary slightly )
     465...st_mode    40700
     466...st_nlink   3
     467...st_uid     0
     468...st_gid     0
     469...st_rdev    (0x0:0x0)
     470...st_size    0
     471...st_atime   Sat Dec 31 09:00:00 1988
     472...st_mtime   Sat Dec 31 09:00:00 1988
     473...st_ctime   Sat Dec 31 09:00:05 1988
     474stat( links/../links/../links/links ) returned
     475st_dev     (0x0:0x0)
     476...st_ino     b         ( May vary slightly )
    488477...st_mode    40700
    489478...st_nlink   3
     
    495484...st_mtime   Sat Dec 31 09:00:00 1988
    496485...st_ctime   Sat Dec 31 09:00:05 1988
    497 stat( links/dir1_file1 ) returned 
    498 ...st_dev     (0x0:0x0)
    499 ...st_ino     c
    500 ...st_mode    100000
    501 ...st_nlink   3
    502 ...st_uid     0
    503 ...st_gid     0
    504 ...st_rdev    (0x0:0x0)
    505 ...st_size    0
    506 ...st_atime   Sat Dec 31 09:00:00 1988
    507 ...st_mtime   Sat Dec 31 09:00:00 1988
    508 ...st_ctime   Sat Dec 31 09:00:10 1988
    509 stat( links/dir1_file2 ) returned 
    510 ...st_dev     (0x0:0x0)
    511 ...st_ino     d
    512 ...st_mode    100000
    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:10 1988
    521 stat( links/dir1_file3 ) returned 
    522 ...st_dev     (0x0:0x0)
    523 ...st_ino     e
    524 ...st_mode    100000
    525 ...st_nlink   3
    526 ...st_uid     0
    527 ...st_gid     0
    528 ...st_rdev    (0x0:0x0)
    529 ...st_size    0
    530 ...st_atime   Sat Dec 31 09:00:00 1988
    531 ...st_mtime   Sat Dec 31 09:00:00 1988
    532 ...st_ctime   Sat Dec 31 09:00:10 1988
    533 stat( links/dir1_file4 ) returned 
    534 ...st_dev     (0x0:0x0)
    535 ...st_ino     f
    536 ...st_mode    100000
    537 ...st_nlink   3
    538 ...st_uid     0
    539 ...st_gid     0
    540 ...st_rdev    (0x0:0x0)
    541 ...st_size    0
    542 ...st_atime   Sat Dec 31 09:00:00 1988
    543 ...st_mtime   Sat Dec 31 09:00:00 1988
    544 ...st_ctime   Sat Dec 31 09:00:10 1988
    545 stat( links/dir1_dir1_f1 ) returned 
    546 ...st_dev     (0x0:0x0)
    547 ...st_ino     10
    548 ...st_mode    100000
    549 ...st_nlink   3
    550 ...st_uid     0
    551 ...st_gid     0
    552 ...st_rdev    (0x0:0x0)
    553 ...st_size    0
    554 ...st_atime   Sat Dec 31 09:00:00 1988
    555 ...st_mtime   Sat Dec 31 09:00:00 1988
    556 ...st_ctime   Sat Dec 31 09:00:10 1988
    557 stat( links/dir1_dir1 f1 ) returned 
    558 ...st_dev     (0x0:0x0)
    559 ...st_ino     11
    560 ...st_mode    100000
    561 ...st_nlink   3
    562 ...st_uid     0
    563 ...st_gid     0
    564 ...st_rdev    (0x0:0x0)
    565 ...st_size    0
    566 ...st_atime   Sat Dec 31 09:00:00 1988
    567 ...st_mtime   Sat Dec 31 09:00:00 1988
    568 ...st_ctime   Sat Dec 31 09:00:10 1988
    569 stat( links/links/links/links_dir1 ) returned 
    570 ...st_dev     (0x0:0x0)
    571 ...st_ino     4
     486stat( links/dir1_file1 ) returned
     487st_dev     (0x0:0x0)
     488...st_ino     d         ( May vary slightly )
     489...st_mode    100000
     490...st_nlink   3
     491...st_uid     0
     492...st_gid     0
     493...st_rdev    (0x0:0x0)
     494...st_size    0
     495...st_atime   Sat Dec 31 09:00:00 1988
     496...st_mtime   Sat Dec 31 09:00:00 1988
     497...st_ctime   Sat Dec 31 09:00:10 1988
     498stat( links/dir1_file2 ) returned
     499st_dev     (0x0:0x0)
     500...st_ino     e         ( May vary slightly )
     501...st_mode    100000
     502...st_nlink   3
     503...st_uid     0
     504...st_gid     0
     505...st_rdev    (0x0:0x0)
     506...st_size    0
     507...st_atime   Sat Dec 31 09:00:00 1988
     508...st_mtime   Sat Dec 31 09:00:00 1988
     509...st_ctime   Sat Dec 31 09:00:10 1988
     510stat( links/dir1_file3 ) returned
     511st_dev     (0x0:0x0)
     512...st_ino     f         ( May vary slightly )
     513...st_mode    100000
     514...st_nlink   3
     515...st_uid     0
     516...st_gid     0
     517...st_rdev    (0x0:0x0)
     518...st_size    0
     519...st_atime   Sat Dec 31 09:00:00 1988
     520...st_mtime   Sat Dec 31 09:00:00 1988
     521...st_ctime   Sat Dec 31 09:00:10 1988
     522stat( links/dir1_file4 ) returned
     523st_dev     (0x0:0x0)
     524...st_ino     10         ( May vary slightly )
     525...st_mode    100000
     526...st_nlink   3
     527...st_uid     0
     528...st_gid     0
     529...st_rdev    (0x0:0x0)
     530...st_size    0
     531...st_atime   Sat Dec 31 09:00:00 1988
     532...st_mtime   Sat Dec 31 09:00:00 1988
     533...st_ctime   Sat Dec 31 09:00:10 1988
     534stat( links/dir1_dir1_f1 ) returned
     535st_dev     (0x0:0x0)
     536...st_ino     11         ( May vary slightly )
     537...st_mode    100000
     538...st_nlink   3
     539...st_uid     0
     540...st_gid     0
     541...st_rdev    (0x0:0x0)
     542...st_size    0
     543...st_atime   Sat Dec 31 09:00:00 1988
     544...st_mtime   Sat Dec 31 09:00:00 1988
     545...st_ctime   Sat Dec 31 09:00:10 1988
     546stat( links/dir1_dir1 f1 ) returned
     547st_dev     (0x0:0x0)
     548...st_ino     12         ( May vary slightly )
     549...st_mode    100000
     550...st_nlink   3
     551...st_uid     0
     552...st_gid     0
     553...st_rdev    (0x0:0x0)
     554...st_size    0
     555...st_atime   Sat Dec 31 09:00:00 1988
     556...st_mtime   Sat Dec 31 09:00:00 1988
     557...st_ctime   Sat Dec 31 09:00:10 1988
     558stat( links/links/links/links_dir1 ) returned
     559st_dev     (0x0:0x0)
     560...st_ino     5         ( May vary slightly )
    572561...st_mode    40700
    573562...st_nlink   3
     
    579568...st_mtime   Sat Dec 31 09:00:00 1988
    580569...st_ctime   Sat Dec 31 09:00:05 1988
    581 stat( links//links_dir2 ) returned 
    582 ...st_dev     (0x0:0x0)
    583 ...st_ino     5
    584 ...st_mode    40700
    585 ...st_nlink   3
    586 ...st_uid     0
    587 ...st_gid     0
    588 ...st_rdev    (0x0:0x0)
    589 ...st_size    0
    590 ...st_atime   Sat Dec 31 09:00:00 1988
    591 ...st_mtime   Sat Dec 31 09:00:00 1988
    592 ...st_ctime   Sat Dec 31 09:00:05 1988
    593 stat( links//links_dir3 ) returned 
    594 ...st_dev     (0x0:0x0)
    595 ...st_ino     6
    596 ...st_mode    40700
    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:05 1988
    605 stat( links//links_dir4 ) returned 
    606 ...st_dev     (0x0:0x0)
    607 ...st_ino     7
    608 ...st_mode    40700
    609 ...st_nlink   3
    610 ...st_uid     0
    611 ...st_gid     0
    612 ...st_rdev    (0x0:0x0)
    613 ...st_size    0
    614 ...st_atime   Sat Dec 31 09:00:00 1988
    615 ...st_mtime   Sat Dec 31 09:00:00 1988
    616 ...st_ctime   Sat Dec 31 09:00:05 1988
    617 stat( links//links_dir1_d1 ) returned 
    618 ...st_dev     (0x0:0x0)
    619 ...st_ino     8
     570stat( links//links_dir2 ) returned
     571st_dev     (0x0:0x0)
     572...st_ino     6         ( May vary slightly )
     573...st_mode    40700
     574...st_nlink   3
     575...st_uid     0
     576...st_gid     0
     577...st_rdev    (0x0:0x0)
     578...st_size    0
     579...st_atime   Sat Dec 31 09:00:00 1988
     580...st_mtime   Sat Dec 31 09:00:00 1988
     581...st_ctime   Sat Dec 31 09:00:05 1988
     582stat( links//links_dir3 ) returned
     583st_dev     (0x0:0x0)
     584...st_ino     7         ( May vary slightly )
     585...st_mode    40700
     586...st_nlink   3
     587...st_uid     0
     588...st_gid     0
     589...st_rdev    (0x0:0x0)
     590...st_size    0
     591...st_atime   Sat Dec 31 09:00:00 1988
     592...st_mtime   Sat Dec 31 09:00:00 1988
     593...st_ctime   Sat Dec 31 09:00:05 1988
     594stat( links//links_dir4 ) returned
     595st_dev     (0x0:0x0)
     596...st_ino     8         ( May vary slightly )
     597...st_mode    40700
     598...st_nlink   3
     599...st_uid     0
     600...st_gid     0
     601...st_rdev    (0x0:0x0)
     602...st_size    0
     603...st_atime   Sat Dec 31 09:00:00 1988
     604...st_mtime   Sat Dec 31 09:00:00 1988
     605...st_ctime   Sat Dec 31 09:00:05 1988
     606stat( links//links_dir1_d1 ) returned
     607st_dev     (0x0:0x0)
     608...st_ino     9         ( May vary slightly )
    620609...st_mode    40700
    621610...st_nlink   3
     
    627616...st_mtime   Sat Dec 31 09:00:00 1988
    628617...st_ctime   Sat Dec 31 09:00:05 1988
    629 stat( links//links_dir1 d1 ) returned 
    630 ...st_dev     (0x0:0x0)
    631 ...st_ino     9
    632 ...st_mode    40700
    633 ...st_nlink   3
    634 ...st_uid     0
    635 ...st_gid     0
    636 ...st_rdev    (0x0:0x0)
    637 ...st_size    0
    638 ...st_atime   Sat Dec 31 09:00:00 1988
    639 ...st_mtime   Sat Dec 31 09:00:00 1988
    640 ...st_ctime   Sat Dec 31 09:00:05 1988
    641 stat( links//links_links ) returned 
    642 ...st_dev     (0x0:0x0)
    643 ...st_ino     a
     618stat( links//links_dir1 d1 ) returned
     619st_dev     (0x0:0x0)
     620...st_ino     a         ( May vary slightly )
     621...st_mode    40700
     622...st_nlink   3
     623...st_uid     0
     624...st_gid     0
     625...st_rdev    (0x0:0x0)
     626...st_size    0
     627...st_atime   Sat Dec 31 09:00:00 1988
     628...st_mtime   Sat Dec 31 09:00:00 1988
     629...st_ctime   Sat Dec 31 09:00:05 1988
     630stat( links//links_links ) returned
     631st_dev     (0x0:0x0)
     632...st_ino     b         ( May vary slightly )
    644633...st_mode    40700
    645634...st_nlink   3
     
    651640...st_mtime   Sat Dec 31 09:00:00 1988
    652641...st_ctime   Sat Dec 31 09:00:05 1988
    653 stat( links///links_d1_file1 ) returned 
    654 ...st_dev     (0x0:0x0)
    655 ...st_ino     c
    656 ...st_mode    100000
    657 ...st_nlink   3
    658 ...st_uid     0
    659 ...st_gid     0
    660 ...st_rdev    (0x0:0x0)
    661 ...st_size    0
    662 ...st_atime   Sat Dec 31 09:00:00 1988
    663 ...st_mtime   Sat Dec 31 09:00:00 1988
    664 ...st_ctime   Sat Dec 31 09:00:10 1988
    665 stat( links///links_d1_file2 ) returned 
    666 ...st_dev     (0x0:0x0)
    667 ...st_ino     d
    668 ...st_mode    100000
    669 ...st_nlink   3
    670 ...st_uid     0
    671 ...st_gid     0
    672 ...st_rdev    (0x0:0x0)
    673 ...st_size    0
    674 ...st_atime   Sat Dec 31 09:00:00 1988
    675 ...st_mtime   Sat Dec 31 09:00:00 1988
    676 ...st_ctime   Sat Dec 31 09:00:10 1988
    677 stat( links///links_d1_file3 ) returned 
    678 ...st_dev     (0x0:0x0)
    679 ...st_ino     e
    680 ...st_mode    100000
    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:10 1988
    689 stat( links///links_d1_file4 ) returned 
    690 ...st_dev     (0x0:0x0)
    691 ...st_ino     f
    692 ...st_mode    100000
    693 ...st_nlink   3
    694 ...st_uid     0
    695 ...st_gid     0
    696 ...st_rdev    (0x0:0x0)
    697 ...st_size    0
    698 ...st_atime   Sat Dec 31 09:00:00 1988
    699 ...st_mtime   Sat Dec 31 09:00:00 1988
    700 ...st_ctime   Sat Dec 31 09:00:10 1988
    701 stat( links///links_d1_d1_f1 ) returned 
    702 ...st_dev     (0x0:0x0)
    703 ...st_ino     10
    704 ...st_mode    100000
    705 ...st_nlink   3
    706 ...st_uid     0
    707 ...st_gid     0
    708 ...st_rdev    (0x0:0x0)
    709 ...st_size    0
    710 ...st_atime   Sat Dec 31 09:00:00 1988
    711 ...st_mtime   Sat Dec 31 09:00:00 1988
    712 ...st_ctime   Sat Dec 31 09:00:10 1988
    713 stat( links///links_r1_d1 f1 ) returned 
    714 ...st_dev     (0x0:0x0)
    715 ...st_ino     11
     642stat( links///links_d1_file1 ) returned
     643st_dev     (0x0:0x0)
     644...st_ino     d         ( May vary slightly )
     645...st_mode    100000
     646...st_nlink   3
     647...st_uid     0
     648...st_gid     0
     649...st_rdev    (0x0:0x0)
     650...st_size    0
     651...st_atime   Sat Dec 31 09:00:00 1988
     652...st_mtime   Sat Dec 31 09:00:00 1988
     653...st_ctime   Sat Dec 31 09:00:10 1988
     654stat( links///links_d1_file2 ) returned
     655st_dev     (0x0:0x0)
     656...st_ino     e         ( May vary slightly )
     657...st_mode    100000
     658...st_nlink   3
     659...st_uid     0
     660...st_gid     0
     661...st_rdev    (0x0:0x0)
     662...st_size    0
     663...st_atime   Sat Dec 31 09:00:00 1988
     664...st_mtime   Sat Dec 31 09:00:00 1988
     665...st_ctime   Sat Dec 31 09:00:10 1988
     666stat( links///links_d1_file3 ) returned
     667st_dev     (0x0:0x0)
     668...st_ino     f         ( May vary slightly )
     669...st_mode    100000
     670...st_nlink   3
     671...st_uid     0
     672...st_gid     0
     673...st_rdev    (0x0:0x0)
     674...st_size    0
     675...st_atime   Sat Dec 31 09:00:00 1988
     676...st_mtime   Sat Dec 31 09:00:00 1988
     677...st_ctime   Sat Dec 31 09:00:10 1988
     678stat( links///links_d1_file4 ) returned
     679st_dev     (0x0:0x0)
     680...st_ino     10         ( May vary slightly )
     681...st_mode    100000
     682...st_nlink   3
     683...st_uid     0
     684...st_gid     0
     685...st_rdev    (0x0:0x0)
     686...st_size    0
     687...st_atime   Sat Dec 31 09:00:00 1988
     688...st_mtime   Sat Dec 31 09:00:00 1988
     689...st_ctime   Sat Dec 31 09:00:10 1988
     690stat( links///links_d1_d1_f1 ) returned
     691st_dev     (0x0:0x0)
     692...st_ino     11         ( May vary slightly )
     693...st_mode    100000
     694...st_nlink   3
     695...st_uid     0
     696...st_gid     0
     697...st_rdev    (0x0:0x0)
     698...st_size    0
     699...st_atime   Sat Dec 31 09:00:00 1988
     700...st_mtime   Sat Dec 31 09:00:00 1988
     701...st_ctime   Sat Dec 31 09:00:10 1988
     702stat( links///links_r1_d1 f1 ) returned
     703st_dev     (0x0:0x0)
     704...st_ino     12         ( May vary slightly )
    716705...st_mode    100000
    717706...st_nlink   3
     
    724713...st_ctime   Sat Dec 31 09:00:10 1988
    725714chmod of /dir1/dir1 to Read/Write
    726 
    727715Doing the stat() on all the bad paths
    728716stat( /links/ENAMETOOLONG__________________________ ) returned : File or path name too long
     
    732720Making file /dir1/file4/NOTADIR : Not a directory
    733721Making file /dir1/dir1/EACCES__ : Permission denied
    734 
    735722Return /dir1/dir1 to RWX
    736723Making file /symlinks/a_file_symlink
     
    746733Making file /symlinks/links
    747734Verify with readlink
    748 stat( /symlinks/a_file_symlink ) returned 
    749 ...st_dev     (0x0:0x0)
    750 ...st_ino     c
    751 ...st_mode    100000
    752 ...st_nlink   3
    753 ...st_uid     0
    754 ...st_gid     0
    755 ...st_rdev    (0x0:0x0)
    756 ...st_size    0
    757 ...st_atime   Sat Dec 31 09:00:00 1988
    758 ...st_mtime   Sat Dec 31 09:00:00 1988
    759 ...st_ctime   Sat Dec 31 09:00:10 1988
    760 stat( /symlinks/a_dir_symlink ) returned 
    761 ...st_dev     (0x0:0x0)
    762 ...st_ino     4
     735stat( /symlinks/a_file_symlink ) returned
     736st_dev     (0x0:0x0)
     737...st_ino     d         ( May vary slightly )
     738...st_mode    100000
     739...st_nlink   3
     740...st_uid     0
     741...st_gid     0
     742...st_rdev    (0x0:0x0)
     743...st_size    0
     744...st_atime   Sat Dec 31 09:00:00 1988
     745...st_mtime   Sat Dec 31 09:00:00 1988
     746...st_ctime   Sat Dec 31 09:00:10 1988
     747stat( /symlinks/a_dir_symlink ) returned
     748st_dev     (0x0:0x0)
     749...st_ino     5         ( May vary slightly )
    763750...st_mode    40700
    764751...st_nlink   3
     
    770757...st_mtime   Sat Dec 31 09:00:00 1988
    771758...st_ctime   Sat Dec 31 09:00:05 1988
    772 stat( /symlinks/a_link_symlink ) returned 
    773 ...st_dev     (0x0:0x0)
    774 ...st_ino     4
     759stat( /symlinks/a_link_symlink ) returned
     760st_dev     (0x0:0x0)
     761...st_ino     5         ( May vary slightly )
    775762...st_mode    40700
    776763...st_nlink   3
     
    783770...st_ctime   Sat Dec 31 09:00:05 1988
    784771stat( ../symlinks/no_file ) returned : No such file or directory
    785 stat( /symlinks/a_dir_symlink/a_file_symlink ) returned 
    786 ...st_dev     (0x0:0x0)
    787 ...st_ino     4
     772stat( /symlinks/a_dir_symlink/a_file_symlink ) returned
     773st_dev     (0x0:0x0)
     774...st_ino     5         ( May vary slightly )
    788775...st_mode    40700
    789776...st_nlink   3
     
    813800Making file 9
    814801Verify with readlink
    815 stat( 1 ) returned 
    816 ...st_dev     (0x0:0x0)
    817 ...st_ino     b
     802stat( 1 ) returned
     803st_dev     (0x0:0x0)
     804...st_ino     c         ( May vary slightly )
    818805...st_mode    40700
    819806...st_nlink   1
     
    825812...st_mtime   Sat Dec 31 09:00:00 1988
    826813...st_ctime   Sat Dec 31 09:00:00 1988
    827 stat( 2 ) returned 
    828 ...st_dev     (0x0:0x0)
    829 ...st_ino     b
     814stat( 2 ) returned
     815st_dev     (0x0:0x0)
     816...st_ino     c         ( May vary slightly )
    830817...st_mode    40700
    831818...st_nlink   1
     
    837824...st_mtime   Sat Dec 31 09:00:00 1988
    838825...st_ctime   Sat Dec 31 09:00:00 1988
    839 stat( 3 ) returned 
    840 ...st_dev     (0x0:0x0)
    841 ...st_ino     b
     826stat( 3 ) returned
     827st_dev     (0x0:0x0)
     828...st_ino     c         ( May vary slightly )
    842829...st_mode    40700
    843830...st_nlink   1
     
    849836...st_mtime   Sat Dec 31 09:00:00 1988
    850837...st_ctime   Sat Dec 31 09:00:00 1988
    851 stat( 4 ) returned 
    852 ...st_dev     (0x0:0x0)
    853 ...st_ino     b
     838stat( 4 ) returned
     839st_dev     (0x0:0x0)
     840...st_ino     c         ( May vary slightly )
    854841...st_mode    40700
    855842...st_nlink   1
     
    866853stat( 8 ) returned : Too many symbolic links
    867854stat( 9 ) returned : Too many symbolic links
    868 
    869 
    870 Pass an invalid mode to chmod should fail with EPERM
     855Pass an invalid mode to chmod should fail with EPERM
    871856chdir to a file should fail with ENOTDIR
    872857Verify RWX permission on /dir1 via access
     
    876861chdir to /dir1/dir1 should fail with EACCES
    877862Stat with a NULL buffer should fail with EFAULT
    878 
    879 
    880863chmod of /dir1 to Read/Write
    881864mkdir /dir1/BADNAME should fail with EACCESS
    882 
    883865/dir1 Should exist ( access )
    884 
    885866/dir1 Should have read  permission( access )
    886 
    887867/dir1 Should have write permission( access )
    888 
    889868/dir1 Should not have execute permission( access )
    890 
    891869Restore /dir1 to RWX
    892 chdir to / 
     870chdir to /
    893871Remove /./././dir1/ dir1
    894872stat( /./././dir1/ dir1 ) returned : No such file or directory
    895 stat( links/dir1_ dir1 ) returned 
    896 ...st_dev     (0x0:0x0)
    897 ...st_ino     9
     873stat( links/dir1_ dir1 ) returned
     874st_dev     (0x0:0x0)
     875...st_ino     a         ( May vary slightly )
    898876...st_mode    40700
    899877...st_nlink   2
     
    905883...st_mtime   Sat Dec 31 09:00:00 1988
    906884...st_ctime   Sat Dec 31 09:00:20 1988
    907 stat( links//links_dir1 d1 ) returned 
    908 ...st_dev     (0x0:0x0)
    909 ...st_ino     9
     885stat( links//links_dir1 d1 ) returned
     886st_dev     (0x0:0x0)
     887...st_ino     a         ( May vary slightly )
    910888...st_mode    40700
    911889...st_nlink   2
     
    921899mkdir ../t should fail with ENOENT
    922900mkdir t
    923 chdir to / 
     901chdir to /
    924902rmdir links/dir1_ dir1 should fail with ENOTDIR
    925903unlink links/dir1_ dir1
     
    927905rmdir links//links_dir1 d1/t
    928906unlink links/dir1_ dir1
    929 Attempting to mount IMFS file system at /dir1/my_mount_point 
     907Attempting to mount IMFS file system at /dir1/my_mount_point
    930908rmdir /dir1/my_mount_point should fail with EBUSY
    931909Unmount /dir1/my_mount_point
    932 chmod of ////dir1/\//file1\\// to group and other execute
    933 Open ////dir1/\//file1\\// for write should fail with EACCES
     910chmod of ////dir1///file1\// to group and other execute
     911Open ////dir1///file1\// for write should fail with EACCES
    934912chmod of /dir4 to User Execute and Read
    935913Mkdir of /dir4/NewFile should fail with EACCES
    936  Making too many hard links.
     914Making too many hard links.
    937915Making file /LinkName1
    938916Making file /LinkName2
     
    944922Making file /LinkName8
    945923pass fstat a null pointer should fail with EFAULT
    946 chdir to / 
    947 Change group of ////dir1/\//file1\\//
    948 stat( ////dir1/\//file1\\// ) returned
    949 ...st_dev     (0x0:0x0)
    950 ...st_ino     c
     924chdir to /
     925Change group of ////dir1///file1\//
     926stat( ////dir1///file1\// ) returned
     927st_dev     (0x0:0x0)
     928...st_ino     d         ( May vary slightly )
    951929...st_mode    100011
    952930...st_nlink   3
     
    958936...st_mtime   Sat Dec 31 09:00:00 1988
    959937...st_ctime   Sat Dec 31 09:00:25 1988
    960 Change owner of ////dir1/\//file1\\//
    961 stat( ////dir1/\//file1\\// ) returned
    962 ...st_dev     (0x0:0x0)
    963 ...st_ino     c
     938Change owner of ////dir1///file1\//
     939stat( ////dir1///file1\// ) returned
     940st_dev     (0x0:0x0)
     941...st_ino     d         ( May vary slightly )
    964942...st_mode    100011
    965943...st_nlink   3
     
    972950...st_ctime   Sat Dec 31 09:00:25 1988
    973951Change group of /dir1/file2
    974 stat( /dir1/file2 ) returned 
    975 ...st_dev     (0x0:0x0)
    976 ...st_ino     d
     952stat( /dir1/file2 ) returned
     953st_dev     (0x0:0x0)
     954...st_ino     e         ( May vary slightly )
    977955...st_mode    100000
    978956...st_nlink   3
     
    985963...st_ctime   Sat Dec 31 09:00:25 1988
    986964Change owner of /dir1/file2
    987 stat( /dir1/file2 ) returned 
    988 ...st_dev     (0x0:0x0)
    989 ...st_ino     d
     965stat( /dir1/file2 ) returned
     966st_dev     (0x0:0x0)
     967...st_ino     e         ( May vary slightly )
    990968...st_mode    100000
    991969...st_nlink   3
     
    998976...st_ctime   Sat Dec 31 09:00:25 1988
    999977Change group of /dir1/file3
    1000 stat( /dir1/file3 ) returned 
    1001 ...st_dev     (0x0:0x0)
    1002 ...st_ino     e
     978stat( /dir1/file3 ) returned
     979st_dev     (0x0:0x0)
     980...st_ino     f         ( May vary slightly )
    1003981...st_mode    100000
    1004982...st_nlink   3
     
    1011989...st_ctime   Sat Dec 31 09:00:25 1988
    1012990Change owner of /dir1/file3
    1013 stat( /dir1/file3 ) returned 
    1014 ...st_dev     (0x0:0x0)
    1015 ...st_ino     e
     991stat( /dir1/file3 ) returned
     992st_dev     (0x0:0x0)
     993...st_ino     f         ( May vary slightly )
    1016994...st_mode    100000
    1017995...st_nlink   3
     
    10241002...st_ctime   Sat Dec 31 09:00:25 1988
    10251003Change group of /dir1/file4
    1026 stat( /dir1/file4 ) returned 
    1027 ...st_dev     (0x0:0x0)
    1028 ...st_ino     f
     1004stat( /dir1/file4 ) returned
     1005st_dev     (0x0:0x0)
     1006...st_ino     10         ( May vary slightly )
    10291007...st_mode    100000
    10301008...st_nlink   3
     
    10371015...st_ctime   Sat Dec 31 09:00:25 1988
    10381016Change owner of /dir1/file4
    1039 stat( /dir1/file4 ) returned 
    1040 ...st_dev     (0x0:0x0)
    1041 ...st_ino     f
     1017stat( /dir1/file4 ) returned
     1018st_dev     (0x0:0x0)
     1019...st_ino     10         ( May vary slightly )
    10421020...st_mode    100000
    10431021...st_nlink   3
     
    10501028...st_ctime   Sat Dec 31 09:00:25 1988
    10511029Change group of /dir1/dir1/file1
    1052 stat( /dir1/dir1/file1 ) returned 
    1053 ...st_dev     (0x0:0x0)
    1054 ...st_ino     10
     1030stat( /dir1/dir1/file1 ) returned
     1031st_dev     (0x0:0x0)
     1032...st_ino     11         ( May vary slightly )
    10551033...st_mode    100000
    10561034...st_nlink   3
     
    10631041...st_ctime   Sat Dec 31 09:00:25 1988
    10641042Change owner of /dir1/dir1/file1
    1065 stat( /dir1/dir1/file1 ) returned 
    1066 ...st_dev     (0x0:0x0)
    1067 ...st_ino     10
     1043stat( /dir1/dir1/file1 ) returned
     1044st_dev     (0x0:0x0)
     1045...st_ino     11         ( May vary slightly )
    10681046...st_mode    100000
    10691047...st_nlink   3
     
    10761054...st_ctime   Sat Dec 31 09:00:25 1988
    10771055Change group of ../../..//dir1/./././dir1/ file1
    1078 stat( ../../..//dir1/./././dir1/ file1 ) returned 
    1079 ...st_dev     (0x0:0x0)
    1080 ...st_ino     11
     1056stat( ../../..//dir1/./././dir1/ file1 ) returned
     1057st_dev     (0x0:0x0)
     1058...st_ino     12         ( May vary slightly )
    10811059...st_mode    100000
    10821060...st_nlink   3
     
    10891067...st_ctime   Sat Dec 31 09:00:25 1988
    10901068Change owner of ../../..//dir1/./././dir1/ file1
    1091 stat( ../../..//dir1/./././dir1/ file1 ) returned 
    1092 ...st_dev     (0x0:0x0)
    1093 ...st_ino     11
     1069stat( ../../..//dir1/./././dir1/ file1 ) returned
     1070st_dev     (0x0:0x0)
     1071...st_ino     12         ( May vary slightly )
    10941072...st_mode    100000
    10951073...st_nlink   3
     
    11021080...st_ctime   Sat Dec 31 09:00:25 1988
    11031081Change group of main.c
    1104 stat( main.c ) returned 
    1105 ...st_dev     (0x0:0x0)
    1106 ...st_ino     12
     1082stat( main.c ) returned
     1083st_dev     (0x0:0x0)
     1084...st_ino     13         ( May vary slightly )
    11071085...st_mode    100000
    11081086...st_nlink   1
     
    11151093...st_ctime   Sat Dec 31 09:00:25 1988
    11161094Change owner of main.c
    1117 stat( main.c ) returned 
    1118 ...st_dev     (0x0:0x0)
    1119 ...st_ino     12
     1095stat( main.c ) returned
     1096st_dev     (0x0:0x0)
     1097...st_ino     13         ( May vary slightly )
    11201098...st_mode    100000
    11211099...st_nlink   1
     
    11281106...st_ctime   Sat Dec 31 09:00:25 1988
    11291107Change group of dir1/dir1/../../links/dir1
    1130 stat( dir1/dir1/../../links/dir1 ) returned 
    1131 ...st_dev     (0x0:0x0)
    1132 ...st_ino     4
     1108stat( dir1/dir1/../../links/dir1 ) returned
     1109st_dev     (0x0:0x0)
     1110...st_ino     5         ( May vary slightly )
    11331111...st_mode    40700
    11341112...st_nlink   3
     
    11431121stat( dir1/dir1/../../links/dir1 ) returned : Permission denied
    11441122Change group of links/dir2
    1145 stat( links/dir2 ) returned 
    1146 ...st_dev     (0x0:0x0)
    1147 ...st_ino     5
     1123stat( links/dir2 ) returned
     1124st_dev     (0x0:0x0)
     1125...st_ino     6         ( May vary slightly )
    11481126...st_mode    40700
    11491127...st_nlink   3
     
    11561134...st_ctime   Sat Dec 31 09:00:30 1988
    11571135Change owner of links/dir2
    1158 stat( links/dir2 ) returned 
    1159 ...st_dev     (0x0:0x0)
    1160 ...st_ino     5
     1136stat( links/dir2 ) returned
     1137st_dev     (0x0:0x0)
     1138...st_ino     6         ( May vary slightly )
    11611139...st_mode    40700
    11621140...st_nlink   3
     
    11691147...st_ctime   Sat Dec 31 09:00:30 1988
    11701148Change group of links/dir3
    1171 stat( links/dir3 ) returned 
    1172 ...st_dev     (0x0:0x0)
    1173 ...st_ino     6
     1149stat( links/dir3 ) returned
     1150st_dev     (0x0:0x0)
     1151...st_ino     7         ( May vary slightly )
    11741152...st_mode    40700
    11751153...st_nlink   3
     
    11821160...st_ctime   Sat Dec 31 09:00:30 1988
    11831161Change owner of links/dir3
    1184 stat( links/dir3 ) returned 
    1185 ...st_dev     (0x0:0x0)
    1186 ...st_ino     6
     1162stat( links/dir3 ) returned
     1163st_dev     (0x0:0x0)
     1164...st_ino     7         ( May vary slightly )
    11871165...st_mode    40700
    11881166...st_nlink   3
     
    11951173...st_ctime   Sat Dec 31 09:00:30 1988
    11961174Change group of links/dir4
    1197 stat( links/dir4 ) returned 
    1198 ...st_dev     (0x0:0x0)
    1199 ...st_ino     7
     1175stat( links/dir4 ) returned
     1176st_dev     (0x0:0x0)
     1177...st_ino     8         ( May vary slightly )
    12001178...st_mode    40500
    12011179...st_nlink   3
     
    12081186...st_ctime   Sat Dec 31 09:00:30 1988
    12091187Change owner of links/dir4
    1210 stat( links/dir4 ) returned 
    1211 ...st_dev     (0x0:0x0)
    1212 ...st_ino     7
     1188stat( links/dir4 ) returned
     1189st_dev     (0x0:0x0)
     1190...st_ino     8         ( May vary slightly )
    12131191...st_mode    40500
    12141192...st_nlink   3
     
    12211199...st_ctime   Sat Dec 31 09:00:30 1988
    12221200Change group of links/dir1_dir1
    1223 stat( links/dir1_dir1 ) returned 
    1224 ...st_dev     (0x0:0x0)
    1225 ...st_ino     8
     1201stat( links/dir1_dir1 ) returned
     1202st_dev     (0x0:0x0)
     1203...st_ino     9         ( May vary slightly )
    12261204...st_mode    40700
    12271205...st_nlink   3
     
    12341212...st_ctime   Sat Dec 31 09:00:30 1988
    12351213Change owner of links/dir1_dir1
    1236 stat( links/dir1_dir1 ) returned 
    1237 ...st_dev     (0x0:0x0)
    1238 ...st_ino     8
     1214stat( links/dir1_dir1 ) returned
     1215st_dev     (0x0:0x0)
     1216...st_ino     9         ( May vary slightly )
    12391217...st_mode    40700
    12401218...st_nlink   3
     
    12511229stat( links/dir1_ dir1 ) returned : No such file or directory
    12521230Change group of links/../links/../links/links
    1253 stat( links/../links/../links/links ) returned 
    1254 ...st_dev     (0x0:0x0)
    1255 ...st_ino     a
     1231stat( links/../links/../links/links ) returned
     1232st_dev     (0x0:0x0)
     1233...st_ino     b         ( May vary slightly )
    12561234...st_mode    40700
    12571235...st_nlink   3
     
    12651243Change owner of links/../links/../links/links
    12661244stat( links/../links/../links/links ) returned : Permission denied
    1267 
    1268 
    12691245*** END OF STAT TEST 01 ***
Note: See TracChangeset for help on using the changeset viewer.