Changeset cbbc55ef in rtems


Ignore:
Timestamp:
Jun 18, 2009, 4:19:53 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
753ddb2
Parents:
c1d924d
Message:

2009-06-18 Joel Sherrill <joel.sherrill@…>

  • psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong mode bits being set. This behavior was not POSIX compliant and has been corrected in the filesystem code.
Location:
testsuites/psxtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    rc1d924d rcbbc55ef  
     12009-06-18      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong
     4        mode bits being set. This behavior was not POSIX compliant and has
     5        been corrected in the filesystem code.
     6
    172009-06-18      Chris Johns <chrisj@rtems.org>
    28
  • testsuites/psxtests/psxstat/psxstat.scn

    rc1d924d rcbbc55ef  
    99Making directory /./././my_mount_point/links
    1010Making directory ///my_mount_point/dir1/dir1/../../dir1/../symlinks/////
     11
    1112Making file /////my_mount_point/dir1/\//file1\\//
    1213Making file /my_mount_point/dir1/file2
     
    1617Making file ../../..//my_mount_point/dir1/./././dir1/ file1
    1718Making file main.c
     19
    1820Making file dir1/dir1/../../links/dir1
    1921Making file links/dir2
     
    2325Making file links/dir1_ dir1
    2426Making file links/../links/../links/links
     27
    2528Making file links/dir1_file1
    2629Making file links/dir1_file2
     
    2932Making file links/dir1_dir1_f1
    3033Making file links/dir1_dir1 f1
     34
    3135Making file links/links/links/links_dir1
    3236Making file links//links_dir2
     
    3640Making file links//links_dir1 d1
    3741Making file links//links_links
     42
    3843Making file links///links_d1_file1
    3944Making file links///links_d1_file2
     
    4247Making file links///links_d1_d1_f1
    4348Making file links///links_r1_d1 f1
     49
    4450Doing the stat() on all the good absolute paths
    45 stat( /my_mount_point/dev ) returned
     51stat( /my_mount_point/dev ) returned 
    4652...st_dev     (0x0:0x0)
    4753...st_ino     2
     
    5561...st_mtime   Sat Dec 31 09:00:00 1988
    5662...st_ctime   Sat Dec 31 09:00:00 1988
    57 stat( ////my_mount_point/dir1/\//file1\\// ) returned
     63stat( ////my_mount_point/dir1/\//file1\\// ) returned 
    5864...st_dev     (0x0:0x0)
    5965...st_ino     b
    60 ...st_mode    100000
    61 ...st_nlink   3
    62 ...st_uid     0
    63 ...st_gid     0
    64 ...st_rdev    (0x0:0x0)
    65 ...st_size    0
    66 ...st_atime   Sat Dec 31 09:00:00 1988
    67 ...st_mtime   Sat Dec 31 09:00:00 1988
    68 ...st_ctime   Sat Dec 31 09:00:10 1988
    69 stat( /my_mount_point/dir1/\\/file2 ) returned
     66...st_mode    100004
     67...st_nlink   3
     68...st_uid     0
     69...st_gid     0
     70...st_rdev    (0x0:0x0)
     71...st_size    0
     72...st_atime   Sat Dec 31 09:00:00 1988
     73...st_mtime   Sat Dec 31 09:00:00 1988
     74...st_ctime   Sat Dec 31 09:00:10 1988
     75stat( /my_mount_point/dir1/\\/file2 ) returned 
    7076...st_dev     (0x0:0x0)
    7177...st_ino     c
    72 ...st_mode    100000
    73 ...st_nlink   3
    74 ...st_uid     0
    75 ...st_gid     0
    76 ...st_rdev    (0x0:0x0)
    77 ...st_size    0
    78 ...st_atime   Sat Dec 31 09:00:00 1988
    79 ...st_mtime   Sat Dec 31 09:00:00 1988
    80 ...st_ctime   Sat Dec 31 09:00:10 1988
    81 stat( /my_mount_point/dir1/file3/////\\\ ) returned
     78...st_mode    100004
     79...st_nlink   3
     80...st_uid     0
     81...st_gid     0
     82...st_rdev    (0x0:0x0)
     83...st_size    0
     84...st_atime   Sat Dec 31 09:00:00 1988
     85...st_mtime   Sat Dec 31 09:00:00 1988
     86...st_ctime   Sat Dec 31 09:00:10 1988
     87stat( /my_mount_point/dir1/file3/////\\\ ) returned 
    8288...st_dev     (0x0:0x0)
    8389...st_ino     d
    84 ...st_mode    100000
    85 ...st_nlink   3
    86 ...st_uid     0
    87 ...st_gid     0
    88 ...st_rdev    (0x0:0x0)
    89 ...st_size    0
    90 ...st_atime   Sat Dec 31 09:00:00 1988
    91 ...st_mtime   Sat Dec 31 09:00:00 1988
    92 ...st_ctime   Sat Dec 31 09:00:10 1988
    93 stat( /my_mount_point/dir1/file4 ) returned
     90...st_mode    100004
     91...st_nlink   3
     92...st_uid     0
     93...st_gid     0
     94...st_rdev    (0x0:0x0)
     95...st_size    0
     96...st_atime   Sat Dec 31 09:00:00 1988
     97...st_mtime   Sat Dec 31 09:00:00 1988
     98...st_ctime   Sat Dec 31 09:00:10 1988
     99stat( /my_mount_point/dir1/file4 ) returned 
    94100...st_dev     (0x0:0x0)
    95101...st_ino     e
    96 ...st_mode    100000
    97 ...st_nlink   3
    98 ...st_uid     0
    99 ...st_gid     0
    100 ...st_rdev    (0x0:0x0)
    101 ...st_size    0
    102 ...st_atime   Sat Dec 31 09:00:00 1988
    103 ...st_mtime   Sat Dec 31 09:00:00 1988
    104 ...st_ctime   Sat Dec 31 09:00:10 1988
    105 stat( /my_mount_point/dir1/dir1/file1 ) returned
     102...st_mode    100004
     103...st_nlink   3
     104...st_uid     0
     105...st_gid     0
     106...st_rdev    (0x0:0x0)
     107...st_size    0
     108...st_atime   Sat Dec 31 09:00:00 1988
     109...st_mtime   Sat Dec 31 09:00:00 1988
     110...st_ctime   Sat Dec 31 09:00:10 1988
     111stat( /my_mount_point/dir1/dir1/file1 ) returned 
    106112...st_dev     (0x0:0x0)
    107113...st_ino     f
    108 ...st_mode    100000
    109 ...st_nlink   3
    110 ...st_uid     0
    111 ...st_gid     0
    112 ...st_rdev    (0x0:0x0)
    113 ...st_size    0
    114 ...st_atime   Sat Dec 31 09:00:00 1988
    115 ...st_mtime   Sat Dec 31 09:00:00 1988
    116 ...st_ctime   Sat Dec 31 09:00:10 1988
    117 stat( /my_mount_point/dir1/dir1/ file1 ) returned
     114...st_mode    100004
     115...st_nlink   3
     116...st_uid     0
     117...st_gid     0
     118...st_rdev    (0x0:0x0)
     119...st_size    0
     120...st_atime   Sat Dec 31 09:00:00 1988
     121...st_mtime   Sat Dec 31 09:00:00 1988
     122...st_ctime   Sat Dec 31 09:00:10 1988
     123stat( /my_mount_point/dir1/dir1/ file1 ) returned 
    118124...st_dev     (0x0:0x0)
    119125...st_ino     10
    120 ...st_mode    100000
    121 ...st_nlink   3
    122 ...st_uid     0
    123 ...st_gid     0
    124 ...st_rdev    (0x0:0x0)
    125 ...st_size    0
    126 ...st_atime   Sat Dec 31 09:00:00 1988
    127 ...st_mtime   Sat Dec 31 09:00:00 1988
    128 ...st_ctime   Sat Dec 31 09:00:10 1988
    129 stat( /my_mount_point/dir1 ) returned
     126...st_mode    100004
     127...st_nlink   3
     128...st_uid     0
     129...st_gid     0
     130...st_rdev    (0x0:0x0)
     131...st_size    0
     132...st_atime   Sat Dec 31 09:00:00 1988
     133...st_mtime   Sat Dec 31 09:00:00 1988
     134...st_ctime   Sat Dec 31 09:00:10 1988
     135stat( /my_mount_point/dir1 ) returned 
    130136...st_dev     (0x0:0x0)
    131137...st_ino     3
     
    139145...st_mtime   Sat Dec 31 09:00:00 1988
    140146...st_ctime   Sat Dec 31 09:00:05 1988
    141 stat( /my_mount_point/dir2//////\ ) returned
     147stat( /my_mount_point/dir2//////\ ) returned 
    142148...st_dev     (0x0:0x0)
    143149...st_ino     4
     
    151157...st_mtime   Sat Dec 31 09:00:00 1988
    152158...st_ctime   Sat Dec 31 09:00:05 1988
    153 stat( /my_mount_point/dir3 ) returned
     159stat( /my_mount_point/dir3 ) returned 
    154160...st_dev     (0x0:0x0)
    155161...st_ino     5
     
    163169...st_mtime   Sat Dec 31 09:00:00 1988
    164170...st_ctime   Sat Dec 31 09:00:05 1988
    165 stat( /my_mount_point/dir4 ) returned
     171stat( /my_mount_point/dir4 ) returned 
    166172...st_dev     (0x0:0x0)
    167173...st_ino     6
     
    175181...st_mtime   Sat Dec 31 09:00:00 1988
    176182...st_ctime   Sat Dec 31 09:00:05 1988
    177 stat( /my_mount_point/dir1/dir1 ) returned
     183stat( /my_mount_point/dir1/dir1 ) returned 
    178184...st_dev     (0x0:0x0)
    179185...st_ino     7
     
    187193...st_mtime   Sat Dec 31 09:00:00 1988
    188194...st_ctime   Sat Dec 31 09:00:05 1988
    189 stat( /my_mount_point/dir1/ dir1///\\ ) returned
     195stat( /my_mount_point/dir1/ dir1///\\ ) returned 
    190196...st_dev     (0x0:0x0)
    191197...st_ino     8
     
    199205...st_mtime   Sat Dec 31 09:00:00 1988
    200206...st_ctime   Sat Dec 31 09:00:05 1988
    201 stat( /my_mount_point/\/\/\/\/\/\/links\/\/\/\/\/\ ) returned
     207stat( /my_mount_point/\/\/\/\/\/\/links\/\/\/\/\/\ ) returned 
    202208...st_dev     (0x0:0x0)
    203209...st_ino     9
     
    211217...st_mtime   Sat Dec 31 09:00:00 1988
    212218...st_ctime   Sat Dec 31 09:00:05 1988
     219
    213220Doing the stat() on all the good relative paths
    214 stat( dev ) returned
     221stat( dev ) returned 
    215222...st_dev     (0x0:0x0)
    216223...st_ino     2
     
    224231...st_mtime   Sat Dec 31 09:00:00 1988
    225232...st_ctime   Sat Dec 31 09:00:00 1988
    226 stat( dir1/\//file1\\// ) returned
     233stat( dir1/\//file1\\// ) returned 
    227234...st_dev     (0x0:0x0)
    228235...st_ino     b
    229 ...st_mode    100000
    230 ...st_nlink   3
    231 ...st_uid     0
    232 ...st_gid     0
    233 ...st_rdev    (0x0:0x0)
    234 ...st_size    0
    235 ...st_atime   Sat Dec 31 09:00:00 1988
    236 ...st_mtime   Sat Dec 31 09:00:00 1988
    237 ...st_ctime   Sat Dec 31 09:00:10 1988
    238 stat( dir1/\\/file2 ) returned
     236...st_mode    100004
     237...st_nlink   3
     238...st_uid     0
     239...st_gid     0
     240...st_rdev    (0x0:0x0)
     241...st_size    0
     242...st_atime   Sat Dec 31 09:00:00 1988
     243...st_mtime   Sat Dec 31 09:00:00 1988
     244...st_ctime   Sat Dec 31 09:00:10 1988
     245stat( dir1/\\/file2 ) returned 
    239246...st_dev     (0x0:0x0)
    240247...st_ino     c
    241 ...st_mode    100000
    242 ...st_nlink   3
    243 ...st_uid     0
    244 ...st_gid     0
    245 ...st_rdev    (0x0:0x0)
    246 ...st_size    0
    247 ...st_atime   Sat Dec 31 09:00:00 1988
    248 ...st_mtime   Sat Dec 31 09:00:00 1988
    249 ...st_ctime   Sat Dec 31 09:00:10 1988
    250 stat( dir1/file3/////\\\ ) returned
     248...st_mode    100004
     249...st_nlink   3
     250...st_uid     0
     251...st_gid     0
     252...st_rdev    (0x0:0x0)
     253...st_size    0
     254...st_atime   Sat Dec 31 09:00:00 1988
     255...st_mtime   Sat Dec 31 09:00:00 1988
     256...st_ctime   Sat Dec 31 09:00:10 1988
     257stat( dir1/file3/////\\\ ) returned 
    251258...st_dev     (0x0:0x0)
    252259...st_ino     d
    253 ...st_mode    100000
    254 ...st_nlink   3
    255 ...st_uid     0
    256 ...st_gid     0
    257 ...st_rdev    (0x0:0x0)
    258 ...st_size    0
    259 ...st_atime   Sat Dec 31 09:00:00 1988
    260 ...st_mtime   Sat Dec 31 09:00:00 1988
    261 ...st_ctime   Sat Dec 31 09:00:10 1988
    262 stat( dir1/file4 ) returned
     260...st_mode    100004
     261...st_nlink   3
     262...st_uid     0
     263...st_gid     0
     264...st_rdev    (0x0:0x0)
     265...st_size    0
     266...st_atime   Sat Dec 31 09:00:00 1988
     267...st_mtime   Sat Dec 31 09:00:00 1988
     268...st_ctime   Sat Dec 31 09:00:10 1988
     269stat( dir1/file4 ) returned 
    263270...st_dev     (0x0:0x0)
    264271...st_ino     e
    265 ...st_mode    100000
    266 ...st_nlink   3
    267 ...st_uid     0
    268 ...st_gid     0
    269 ...st_rdev    (0x0:0x0)
    270 ...st_size    0
    271 ...st_atime   Sat Dec 31 09:00:00 1988
    272 ...st_mtime   Sat Dec 31 09:00:00 1988
    273 ...st_ctime   Sat Dec 31 09:00:10 1988
    274 stat( dir1/dir1/file1 ) returned
     272...st_mode    100004
     273...st_nlink   3
     274...st_uid     0
     275...st_gid     0
     276...st_rdev    (0x0:0x0)
     277...st_size    0
     278...st_atime   Sat Dec 31 09:00:00 1988
     279...st_mtime   Sat Dec 31 09:00:00 1988
     280...st_ctime   Sat Dec 31 09:00:10 1988
     281stat( dir1/dir1/file1 ) returned 
    275282...st_dev     (0x0:0x0)
    276283...st_ino     f
    277 ...st_mode    100000
    278 ...st_nlink   3
    279 ...st_uid     0
    280 ...st_gid     0
    281 ...st_rdev    (0x0:0x0)
    282 ...st_size    0
    283 ...st_atime   Sat Dec 31 09:00:00 1988
    284 ...st_mtime   Sat Dec 31 09:00:00 1988
    285 ...st_ctime   Sat Dec 31 09:00:10 1988
    286 stat( dir1/dir1/ file1 ) returned
     284...st_mode    100004
     285...st_nlink   3
     286...st_uid     0
     287...st_gid     0
     288...st_rdev    (0x0:0x0)
     289...st_size    0
     290...st_atime   Sat Dec 31 09:00:00 1988
     291...st_mtime   Sat Dec 31 09:00:00 1988
     292...st_ctime   Sat Dec 31 09:00:10 1988
     293stat( dir1/dir1/ file1 ) returned 
    287294...st_dev     (0x0:0x0)
    288295...st_ino     10
    289 ...st_mode    100000
    290 ...st_nlink   3
    291 ...st_uid     0
    292 ...st_gid     0
    293 ...st_rdev    (0x0:0x0)
    294 ...st_size    0
    295 ...st_atime   Sat Dec 31 09:00:00 1988
    296 ...st_mtime   Sat Dec 31 09:00:00 1988
    297 ...st_ctime   Sat Dec 31 09:00:10 1988
    298 stat( dir1 ) returned
     296...st_mode    100004
     297...st_nlink   3
     298...st_uid     0
     299...st_gid     0
     300...st_rdev    (0x0:0x0)
     301...st_size    0
     302...st_atime   Sat Dec 31 09:00:00 1988
     303...st_mtime   Sat Dec 31 09:00:00 1988
     304...st_ctime   Sat Dec 31 09:00:10 1988
     305stat( dir1 ) returned 
    299306...st_dev     (0x0:0x0)
    300307...st_ino     3
     
    308315...st_mtime   Sat Dec 31 09:00:00 1988
    309316...st_ctime   Sat Dec 31 09:00:05 1988
    310 stat( dir2//////\ ) returned
     317stat( dir2//////\ ) returned 
    311318...st_dev     (0x0:0x0)
    312319...st_ino     4
     
    320327...st_mtime   Sat Dec 31 09:00:00 1988
    321328...st_ctime   Sat Dec 31 09:00:05 1988
    322 stat( dir3 ) returned
     329stat( dir3 ) returned 
    323330...st_dev     (0x0:0x0)
    324331...st_ino     5
     
    332339...st_mtime   Sat Dec 31 09:00:00 1988
    333340...st_ctime   Sat Dec 31 09:00:05 1988
    334 stat( dir4 ) returned
     341stat( dir4 ) returned 
    335342...st_dev     (0x0:0x0)
    336343...st_ino     6
     
    344351...st_mtime   Sat Dec 31 09:00:00 1988
    345352...st_ctime   Sat Dec 31 09:00:05 1988
    346 stat( dir1/dir1 ) returned
     353stat( dir1/dir1 ) returned 
    347354...st_dev     (0x0:0x0)
    348355...st_ino     7
     
    356363...st_mtime   Sat Dec 31 09:00:00 1988
    357364...st_ctime   Sat Dec 31 09:00:05 1988
    358 stat( dir1/ dir1///\\ ) returned
     365stat( dir1/ dir1///\\ ) returned 
    359366...st_dev     (0x0:0x0)
    360367...st_ino     8
     
    368375...st_mtime   Sat Dec 31 09:00:00 1988
    369376...st_ctime   Sat Dec 31 09:00:05 1988
    370 stat( main.c ) returned
     377stat( main.c ) returned 
    371378...st_dev     (0x0:0x0)
    372379...st_ino     11
    373 ...st_mode    100000
     380...st_mode    100004
    374381...st_nlink   1
    375382...st_uid     0
     
    380387...st_mtime   Sat Dec 31 09:00:00 1988
    381388...st_ctime   Sat Dec 31 09:00:00 1988
     389
    382390chdir to dev
     391
    383392stat relative paths that are now bad
    384393stat( dev ) returned : No such file or directory
     
    396405stat( dir1/ dir1///\\ ) returned : No such file or directory
    397406stat( main.c ) returned : No such file or directory
     407
    398408chdir to ../links
    399409Doing the stat() on good links
    400 stat( dir1/dir1/../../links/dir1 ) returned
     410
     411stat( dir1/dir1/../../links/dir1 ) returned
    401412...st_dev     (0x0:0x0)
    402413...st_ino     3
     
    410421...st_mtime   Sat Dec 31 09:00:00 1988
    411422...st_ctime   Sat Dec 31 09:00:05 1988
    412 stat( links/dir2 ) returned
     423stat( links/dir2 ) returned 
    413424...st_dev     (0x0:0x0)
    414425...st_ino     4
     
    422433...st_mtime   Sat Dec 31 09:00:00 1988
    423434...st_ctime   Sat Dec 31 09:00:05 1988
    424 stat( links/dir3 ) returned
     435stat( links/dir3 ) returned 
    425436...st_dev     (0x0:0x0)
    426437...st_ino     5
     
    434445...st_mtime   Sat Dec 31 09:00:00 1988
    435446...st_ctime   Sat Dec 31 09:00:05 1988
    436 stat( links/dir4 ) returned
     447stat( links/dir4 ) returned 
    437448...st_dev     (0x0:0x0)
    438449...st_ino     6
     
    446457...st_mtime   Sat Dec 31 09:00:00 1988
    447458...st_ctime   Sat Dec 31 09:00:05 1988
    448 stat( links/dir1_dir1 ) returned
     459stat( links/dir1_dir1 ) returned 
    449460...st_dev     (0x0:0x0)
    450461...st_ino     7
     
    458469...st_mtime   Sat Dec 31 09:00:00 1988
    459470...st_ctime   Sat Dec 31 09:00:05 1988
    460 stat( links/dir1_ dir1 ) returned
     471stat( links/dir1_ dir1 ) returned 
    461472...st_dev     (0x0:0x0)
    462473...st_ino     8
     
    470481...st_mtime   Sat Dec 31 09:00:00 1988
    471482...st_ctime   Sat Dec 31 09:00:05 1988
    472 stat( links/../links/../links/links ) returned
     483stat( links/../links/../links/links ) returned 
    473484...st_dev     (0x0:0x0)
    474485...st_ino     9
     
    482493...st_mtime   Sat Dec 31 09:00:00 1988
    483494...st_ctime   Sat Dec 31 09:00:05 1988
    484 stat( links/dir1_file1 ) returned
     495stat( links/dir1_file1 ) returned 
    485496...st_dev     (0x0:0x0)
    486497...st_ino     b
    487 ...st_mode    100000
    488 ...st_nlink   3
    489 ...st_uid     0
    490 ...st_gid     0
    491 ...st_rdev    (0x0:0x0)
    492 ...st_size    0
    493 ...st_atime   Sat Dec 31 09:00:00 1988
    494 ...st_mtime   Sat Dec 31 09:00:00 1988
    495 ...st_ctime   Sat Dec 31 09:00:10 1988
    496 stat( links/dir1_file2 ) returned
     498...st_mode    100004
     499...st_nlink   3
     500...st_uid     0
     501...st_gid     0
     502...st_rdev    (0x0:0x0)
     503...st_size    0
     504...st_atime   Sat Dec 31 09:00:00 1988
     505...st_mtime   Sat Dec 31 09:00:00 1988
     506...st_ctime   Sat Dec 31 09:00:10 1988
     507stat( links/dir1_file2 ) returned 
    497508...st_dev     (0x0:0x0)
    498509...st_ino     c
    499 ...st_mode    100000
    500 ...st_nlink   3
    501 ...st_uid     0
    502 ...st_gid     0
    503 ...st_rdev    (0x0:0x0)
    504 ...st_size    0
    505 ...st_atime   Sat Dec 31 09:00:00 1988
    506 ...st_mtime   Sat Dec 31 09:00:00 1988
    507 ...st_ctime   Sat Dec 31 09:00:10 1988
    508 stat( links/dir1_file3 ) returned
     510...st_mode    100004
     511...st_nlink   3
     512...st_uid     0
     513...st_gid     0
     514...st_rdev    (0x0:0x0)
     515...st_size    0
     516...st_atime   Sat Dec 31 09:00:00 1988
     517...st_mtime   Sat Dec 31 09:00:00 1988
     518...st_ctime   Sat Dec 31 09:00:10 1988
     519stat( links/dir1_file3 ) returned 
    509520...st_dev     (0x0:0x0)
    510521...st_ino     d
    511 ...st_mode    100000
    512 ...st_nlink   3
    513 ...st_uid     0
    514 ...st_gid     0
    515 ...st_rdev    (0x0:0x0)
    516 ...st_size    0
    517 ...st_atime   Sat Dec 31 09:00:00 1988
    518 ...st_mtime   Sat Dec 31 09:00:00 1988
    519 ...st_ctime   Sat Dec 31 09:00:10 1988
    520 stat( links/dir1_file4 ) returned
     522...st_mode    100004
     523...st_nlink   3
     524...st_uid     0
     525...st_gid     0
     526...st_rdev    (0x0:0x0)
     527...st_size    0
     528...st_atime   Sat Dec 31 09:00:00 1988
     529...st_mtime   Sat Dec 31 09:00:00 1988
     530...st_ctime   Sat Dec 31 09:00:10 1988
     531stat( links/dir1_file4 ) returned 
    521532...st_dev     (0x0:0x0)
    522533...st_ino     e
    523 ...st_mode    100000
    524 ...st_nlink   3
    525 ...st_uid     0
    526 ...st_gid     0
    527 ...st_rdev    (0x0:0x0)
    528 ...st_size    0
    529 ...st_atime   Sat Dec 31 09:00:00 1988
    530 ...st_mtime   Sat Dec 31 09:00:00 1988
    531 ...st_ctime   Sat Dec 31 09:00:10 1988
    532 stat( links/dir1_dir1_f1 ) returned
     534...st_mode    100004
     535...st_nlink   3
     536...st_uid     0
     537...st_gid     0
     538...st_rdev    (0x0:0x0)
     539...st_size    0
     540...st_atime   Sat Dec 31 09:00:00 1988
     541...st_mtime   Sat Dec 31 09:00:00 1988
     542...st_ctime   Sat Dec 31 09:00:10 1988
     543stat( links/dir1_dir1_f1 ) returned 
    533544...st_dev     (0x0:0x0)
    534545...st_ino     f
    535 ...st_mode    100000
    536 ...st_nlink   3
    537 ...st_uid     0
    538 ...st_gid     0
    539 ...st_rdev    (0x0:0x0)
    540 ...st_size    0
    541 ...st_atime   Sat Dec 31 09:00:00 1988
    542 ...st_mtime   Sat Dec 31 09:00:00 1988
    543 ...st_ctime   Sat Dec 31 09:00:10 1988
    544 stat( links/dir1_dir1 f1 ) returned
     546...st_mode    100004
     547...st_nlink   3
     548...st_uid     0
     549...st_gid     0
     550...st_rdev    (0x0:0x0)
     551...st_size    0
     552...st_atime   Sat Dec 31 09:00:00 1988
     553...st_mtime   Sat Dec 31 09:00:00 1988
     554...st_ctime   Sat Dec 31 09:00:10 1988
     555stat( links/dir1_dir1 f1 ) returned 
    545556...st_dev     (0x0:0x0)
    546557...st_ino     10
    547 ...st_mode    100000
    548 ...st_nlink   3
    549 ...st_uid     0
    550 ...st_gid     0
    551 ...st_rdev    (0x0:0x0)
    552 ...st_size    0
    553 ...st_atime   Sat Dec 31 09:00:00 1988
    554 ...st_mtime   Sat Dec 31 09:00:00 1988
    555 ...st_ctime   Sat Dec 31 09:00:10 1988
    556 stat( links/links/links/links_dir1 ) returned
     558...st_mode    100004
     559...st_nlink   3
     560...st_uid     0
     561...st_gid     0
     562...st_rdev    (0x0:0x0)
     563...st_size    0
     564...st_atime   Sat Dec 31 09:00:00 1988
     565...st_mtime   Sat Dec 31 09:00:00 1988
     566...st_ctime   Sat Dec 31 09:00:10 1988
     567stat( links/links/links/links_dir1 ) returned 
    557568...st_dev     (0x0:0x0)
    558569...st_ino     3
     
    566577...st_mtime   Sat Dec 31 09:00:00 1988
    567578...st_ctime   Sat Dec 31 09:00:05 1988
    568 stat( links//links_dir2 ) returned
     579stat( links//links_dir2 ) returned 
    569580...st_dev     (0x0:0x0)
    570581...st_ino     4
     
    578589...st_mtime   Sat Dec 31 09:00:00 1988
    579590...st_ctime   Sat Dec 31 09:00:05 1988
    580 stat( links//links_dir3 ) returned
     591stat( links//links_dir3 ) returned 
    581592...st_dev     (0x0:0x0)
    582593...st_ino     5
     
    590601...st_mtime   Sat Dec 31 09:00:00 1988
    591602...st_ctime   Sat Dec 31 09:00:05 1988
    592 stat( links//links_dir4 ) returned
     603stat( links//links_dir4 ) returned 
    593604...st_dev     (0x0:0x0)
    594605...st_ino     6
     
    602613...st_mtime   Sat Dec 31 09:00:00 1988
    603614...st_ctime   Sat Dec 31 09:00:05 1988
    604 stat( links//links_dir1_d1 ) returned
     615stat( links//links_dir1_d1 ) returned 
    605616...st_dev     (0x0:0x0)
    606617...st_ino     7
     
    614625...st_mtime   Sat Dec 31 09:00:00 1988
    615626...st_ctime   Sat Dec 31 09:00:05 1988
    616 stat( links//links_dir1 d1 ) returned
     627stat( links//links_dir1 d1 ) returned 
    617628...st_dev     (0x0:0x0)
    618629...st_ino     8
     
    626637...st_mtime   Sat Dec 31 09:00:00 1988
    627638...st_ctime   Sat Dec 31 09:00:05 1988
    628 stat( links//links_links ) returned
     639stat( links//links_links ) returned 
    629640...st_dev     (0x0:0x0)
    630641...st_ino     9
     
    638649...st_mtime   Sat Dec 31 09:00:00 1988
    639650...st_ctime   Sat Dec 31 09:00:05 1988
    640 stat( links///links_d1_file1 ) returned
     651stat( links///links_d1_file1 ) returned 
    641652...st_dev     (0x0:0x0)
    642653...st_ino     b
    643 ...st_mode    100000
    644 ...st_nlink   3
    645 ...st_uid     0
    646 ...st_gid     0
    647 ...st_rdev    (0x0:0x0)
    648 ...st_size    0
    649 ...st_atime   Sat Dec 31 09:00:00 1988
    650 ...st_mtime   Sat Dec 31 09:00:00 1988
    651 ...st_ctime   Sat Dec 31 09:00:10 1988
    652 stat( links///links_d1_file2 ) returned
     654...st_mode    100004
     655...st_nlink   3
     656...st_uid     0
     657...st_gid     0
     658...st_rdev    (0x0:0x0)
     659...st_size    0
     660...st_atime   Sat Dec 31 09:00:00 1988
     661...st_mtime   Sat Dec 31 09:00:00 1988
     662...st_ctime   Sat Dec 31 09:00:10 1988
     663stat( links///links_d1_file2 ) returned 
    653664...st_dev     (0x0:0x0)
    654665...st_ino     c
    655 ...st_mode    100000
    656 ...st_nlink   3
    657 ...st_uid     0
    658 ...st_gid     0
    659 ...st_rdev    (0x0:0x0)
    660 ...st_size    0
    661 ...st_atime   Sat Dec 31 09:00:00 1988
    662 ...st_mtime   Sat Dec 31 09:00:00 1988
    663 ...st_ctime   Sat Dec 31 09:00:10 1988
    664 stat( links///links_d1_file3 ) returned
     666...st_mode    100004
     667...st_nlink   3
     668...st_uid     0
     669...st_gid     0
     670...st_rdev    (0x0:0x0)
     671...st_size    0
     672...st_atime   Sat Dec 31 09:00:00 1988
     673...st_mtime   Sat Dec 31 09:00:00 1988
     674...st_ctime   Sat Dec 31 09:00:10 1988
     675stat( links///links_d1_file3 ) returned 
    665676...st_dev     (0x0:0x0)
    666677...st_ino     d
    667 ...st_mode    100000
    668 ...st_nlink   3
    669 ...st_uid     0
    670 ...st_gid     0
    671 ...st_rdev    (0x0:0x0)
    672 ...st_size    0
    673 ...st_atime   Sat Dec 31 09:00:00 1988
    674 ...st_mtime   Sat Dec 31 09:00:00 1988
    675 ...st_ctime   Sat Dec 31 09:00:10 1988
    676 stat( links///links_d1_file4 ) returned
     678...st_mode    100004
     679...st_nlink   3
     680...st_uid     0
     681...st_gid     0
     682...st_rdev    (0x0:0x0)
     683...st_size    0
     684...st_atime   Sat Dec 31 09:00:00 1988
     685...st_mtime   Sat Dec 31 09:00:00 1988
     686...st_ctime   Sat Dec 31 09:00:10 1988
     687stat( links///links_d1_file4 ) returned 
    677688...st_dev     (0x0:0x0)
    678689...st_ino     e
    679 ...st_mode    100000
    680 ...st_nlink   3
    681 ...st_uid     0
    682 ...st_gid     0
    683 ...st_rdev    (0x0:0x0)
    684 ...st_size    0
    685 ...st_atime   Sat Dec 31 09:00:00 1988
    686 ...st_mtime   Sat Dec 31 09:00:00 1988
    687 ...st_ctime   Sat Dec 31 09:00:10 1988
    688 stat( links///links_d1_d1_f1 ) returned
     690...st_mode    100004
     691...st_nlink   3
     692...st_uid     0
     693...st_gid     0
     694...st_rdev    (0x0:0x0)
     695...st_size    0
     696...st_atime   Sat Dec 31 09:00:00 1988
     697...st_mtime   Sat Dec 31 09:00:00 1988
     698...st_ctime   Sat Dec 31 09:00:10 1988
     699stat( links///links_d1_d1_f1 ) returned 
    689700...st_dev     (0x0:0x0)
    690701...st_ino     f
    691 ...st_mode    100000
    692 ...st_nlink   3
    693 ...st_uid     0
    694 ...st_gid     0
    695 ...st_rdev    (0x0:0x0)
    696 ...st_size    0
    697 ...st_atime   Sat Dec 31 09:00:00 1988
    698 ...st_mtime   Sat Dec 31 09:00:00 1988
    699 ...st_ctime   Sat Dec 31 09:00:10 1988
    700 stat( links///links_r1_d1 f1 ) returned
     702...st_mode    100004
     703...st_nlink   3
     704...st_uid     0
     705...st_gid     0
     706...st_rdev    (0x0:0x0)
     707...st_size    0
     708...st_atime   Sat Dec 31 09:00:00 1988
     709...st_mtime   Sat Dec 31 09:00:00 1988
     710...st_ctime   Sat Dec 31 09:00:10 1988
     711stat( links///links_r1_d1 f1 ) returned 
    701712...st_dev     (0x0:0x0)
    702713...st_ino     10
    703 ...st_mode    100000
     714...st_mode    100004
    704715...st_nlink   3
    705716...st_uid     0
     
    711722...st_ctime   Sat Dec 31 09:00:10 1988
    712723chmod of /my_mount_point/dir1/dir1 to Read/Write
     724
    713725Doing the stat() on all the bad paths
    714726stat( /my_mount_point/links/ENAMETOOLONG__________________________ ) returned : File or path name too long
     
    718730Making file /my_mount_point/dir1/file4/NOTADIR : Not a directory
    719731Making file /my_mount_point/dir1/dir1/EACCES__ : Permission denied
     732
    720733Return /my_mount_point/dir1/dir1 to RWX
    721734Making file /my_mount_point/symlinks/a_file_symlink
     
    731744Making file /my_mount_point/symlinks/links
    732745Verify with readlink
    733 stat( /my_mount_point/symlinks/a_file_symlink ) returned
     746stat( /my_mount_point/symlinks/a_file_symlink ) returned 
    734747...st_dev     (0x0:0x0)
    735748...st_ino     b
    736 ...st_mode    100000
    737 ...st_nlink   3
    738 ...st_uid     0
    739 ...st_gid     0
    740 ...st_rdev    (0x0:0x0)
    741 ...st_size    0
    742 ...st_atime   Sat Dec 31 09:00:00 1988
    743 ...st_mtime   Sat Dec 31 09:00:00 1988
    744 ...st_ctime   Sat Dec 31 09:00:10 1988
    745 stat( /my_mount_point/symlinks/a_dir_symlink ) returned
     749...st_mode    100004
     750...st_nlink   3
     751...st_uid     0
     752...st_gid     0
     753...st_rdev    (0x0:0x0)
     754...st_size    0
     755...st_atime   Sat Dec 31 09:00:00 1988
     756...st_mtime   Sat Dec 31 09:00:00 1988
     757...st_ctime   Sat Dec 31 09:00:10 1988
     758stat( /my_mount_point/symlinks/a_dir_symlink ) returned 
    746759...st_dev     (0x0:0x0)
    747760...st_ino     3
     
    755768...st_mtime   Sat Dec 31 09:00:00 1988
    756769...st_ctime   Sat Dec 31 09:00:05 1988
    757 stat( /my_mount_point/symlinks/a_link_symlink ) returned
     770stat( /my_mount_point/symlinks/a_link_symlink ) returned 
    758771...st_dev     (0x0:0x0)
    759772...st_ino     3
     
    768781...st_ctime   Sat Dec 31 09:00:05 1988
    769782stat( ../symlinks/no_file ) returned : No such file or directory
    770 stat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
     783stat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned 
    771784...st_dev     (0x0:0x0)
    772785...st_ino     3
     
    807820stat( 8 ) returned : Too many symbolic links
    808821stat( 9 ) returned : Too many symbolic links
    809 Pass an invalid mode to chmod should fail with EPERM
    810822chdir to a file should fail with ENOTDIR
    811823Verify RWX permission on /my_mount_point/dir1 via access
     
    815827chdir to /my_mount_point/dir1/dir1 should fail with EACCES
    816828Stat with a NULL buffer should fail with EFAULT
     829
     830
    817831chmod of /my_mount_point/dir1 to Read/Write
    818832mkdir /my_mount_point/dir1/BADNAME should fail with EACCESS
     833
    819834/my_mount_point/dir1 Should exist ( access )
     835
    820836/my_mount_point/dir1 Should have read  permission( access )
     837
    821838/my_mount_point/dir1 Should have write permission( access )
     839
    822840/my_mount_point/dir1 Should not have execute permission( access )
     841
    823842Restore /my_mount_point/dir1 to RWX
    824 chdir to /my_mount_point
     843chdir to /my_mount_point 
    825844Remove /./././my_mount_point/dir1/ dir1
    826845stat( /./././my_mount_point/dir1/ dir1 ) returned : No such file or directory
    827 stat( links/dir1_ dir1 ) returned
     846stat( links/dir1_ dir1 ) returned 
    828847...st_dev     (0x0:0x0)
    829848...st_ino     8
     
    837856...st_mtime   Sat Dec 31 09:00:00 1988
    838857...st_ctime   Sat Dec 31 09:00:20 1988
    839 stat( links//links_dir1 d1 ) returned
     858stat( links//links_dir1 d1 ) returned 
    840859...st_dev     (0x0:0x0)
    841860...st_ino     8
     
    859878rmdir links//links_dir1 d1/t
    860879unlink links/dir1_ dir1
    861 Attempting to mount IMFS file system at /dir1/my_mount_point
     880Attempting to mount IMFS file system at /dir1/my_mount_point 
    862881rmdir /dir1/my_mount_point should fail with EBUSY
    863882Unmount /my_mount_point/dir1/my_mount_point
     
    876895Making file /LinkName8
    877896pass fstat a null pointer should fail with EFAULT
    878 chdir to /my_mount_point
     897chdir to /my_mount_point 
    879898Change group of /////my_mount_point/dir1/\//file1\\//
    880 stat( /////my_mount_point/dir1/\//file1\\// ) returned
     899stat( /////my_mount_point/dir1/\//file1\\// ) returned 
    881900...st_dev     (0x0:0x0)
    882901...st_ino     b
     
    904923...st_ctime   Sat Dec 31 09:00:25 1988
    905924Change group of /my_mount_point/dir1/file2
    906 stat( /my_mount_point/dir1/file2 ) returned
     925stat( /my_mount_point/dir1/file2 ) returned 
    907926...st_dev     (0x0:0x0)
    908927...st_ino     c
    909 ...st_mode    100000
     928...st_mode    100004
    910929...st_nlink   3
    911930...st_uid     0
     
    917936...st_ctime   Sat Dec 31 09:00:25 1988
    918937Change owner of /my_mount_point/dir1/file2
    919 stat( /my_mount_point/dir1/file2 ) returned
     938stat( /my_mount_point/dir1/file2 ) returned 
    920939...st_dev     (0x0:0x0)
    921940...st_ino     c
    922 ...st_mode    100000
     941...st_mode    100004
    923942...st_nlink   3
    924943...st_uid     1
     
    930949...st_ctime   Sat Dec 31 09:00:25 1988
    931950Change group of /my_mount_point/dir1/file3
    932 stat( /my_mount_point/dir1/file3 ) returned
     951stat( /my_mount_point/dir1/file3 ) returned 
    933952...st_dev     (0x0:0x0)
    934953...st_ino     d
    935 ...st_mode    100000
     954...st_mode    100004
    936955...st_nlink   3
    937956...st_uid     0
     
    941960...st_atime   Sat Dec 31 09:00:00 1988
    942961...st_mtime   Sat Dec 31 09:00:00 1988
    943 ...st_ctime   Sat Dec 31 09:00:25 1988
     962...st_ctime   Sat Dec 31 09:00:26 1988
    944963Change owner of /my_mount_point/dir1/file3
    945 stat( /my_mount_point/dir1/file3 ) returned
     964stat( /my_mount_point/dir1/file3 ) returned 
    946965...st_dev     (0x0:0x0)
    947966...st_ino     d
    948 ...st_mode    100000
     967...st_mode    100004
    949968...st_nlink   3
    950969...st_uid     1
     
    954973...st_atime   Sat Dec 31 09:00:00 1988
    955974...st_mtime   Sat Dec 31 09:00:00 1988
    956 ...st_ctime   Sat Dec 31 09:00:25 1988
     975...st_ctime   Sat Dec 31 09:00:26 1988
    957976Change group of /my_mount_point/dir1/file4
    958 stat( /my_mount_point/dir1/file4 ) returned
     977stat( /my_mount_point/dir1/file4 ) returned 
    959978...st_dev     (0x0:0x0)
    960979...st_ino     e
    961 ...st_mode    100000
     980...st_mode    100004
    962981...st_nlink   3
    963982...st_uid     0
     
    967986...st_atime   Sat Dec 31 09:00:00 1988
    968987...st_mtime   Sat Dec 31 09:00:00 1988
    969 ...st_ctime   Sat Dec 31 09:00:25 1988
     988...st_ctime   Sat Dec 31 09:00:26 1988
    970989Change owner of /my_mount_point/dir1/file4
    971 stat( /my_mount_point/dir1/file4 ) returned
     990stat( /my_mount_point/dir1/file4 ) returned 
    972991...st_dev     (0x0:0x0)
    973992...st_ino     e
    974 ...st_mode    100000
     993...st_mode    100004
    975994...st_nlink   3
    976995...st_uid     1
     
    980999...st_atime   Sat Dec 31 09:00:00 1988
    9811000...st_mtime   Sat Dec 31 09:00:00 1988
    982 ...st_ctime   Sat Dec 31 09:00:25 1988
     1001...st_ctime   Sat Dec 31 09:00:26 1988
    9831002Change group of /my_mount_point/dir1/dir1/file1
    984 stat( /my_mount_point/dir1/dir1/file1 ) returned
     1003stat( /my_mount_point/dir1/dir1/file1 ) returned 
    9851004...st_dev     (0x0:0x0)
    9861005...st_ino     f
    987 ...st_mode    100000
     1006...st_mode    100004
    9881007...st_nlink   3
    9891008...st_uid     0
     
    9931012...st_atime   Sat Dec 31 09:00:00 1988
    9941013...st_mtime   Sat Dec 31 09:00:00 1988
    995 ...st_ctime   Sat Dec 31 09:00:25 1988
     1014...st_ctime   Sat Dec 31 09:00:26 1988
    9961015Change owner of /my_mount_point/dir1/dir1/file1
    997 stat( /my_mount_point/dir1/dir1/file1 ) returned
     1016stat( /my_mount_point/dir1/dir1/file1 ) returned 
    9981017...st_dev     (0x0:0x0)
    9991018...st_ino     f
    1000 ...st_mode    100000
     1019...st_mode    100004
    10011020...st_nlink   3
    10021021...st_uid     1
     
    10061025...st_atime   Sat Dec 31 09:00:00 1988
    10071026...st_mtime   Sat Dec 31 09:00:00 1988
    1008 ...st_ctime   Sat Dec 31 09:00:25 1988
     1027...st_ctime   Sat Dec 31 09:00:26 1988
    10091028Change group of ../../..//my_mount_point/dir1/./././dir1/ file1
    1010 stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
     1029stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned 
    10111030...st_dev     (0x0:0x0)
    10121031...st_ino     10
    1013 ...st_mode    100000
     1032...st_mode    100004
    10141033...st_nlink   3
    10151034...st_uid     0
     
    10191038...st_atime   Sat Dec 31 09:00:00 1988
    10201039...st_mtime   Sat Dec 31 09:00:00 1988
    1021 ...st_ctime   Sat Dec 31 09:00:25 1988
     1040...st_ctime   Sat Dec 31 09:00:26 1988
    10221041Change owner of ../../..//my_mount_point/dir1/./././dir1/ file1
    1023 stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
     1042stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned 
    10241043...st_dev     (0x0:0x0)
    10251044...st_ino     10
    1026 ...st_mode    100000
     1045...st_mode    100004
    10271046...st_nlink   3
    10281047...st_uid     1
     
    10321051...st_atime   Sat Dec 31 09:00:00 1988
    10331052...st_mtime   Sat Dec 31 09:00:00 1988
    1034 ...st_ctime   Sat Dec 31 09:00:25 1988
     1053...st_ctime   Sat Dec 31 09:00:26 1988
    10351054Change group of main.c
    1036 stat( main.c ) returned
     1055stat( main.c ) returned 
    10371056...st_dev     (0x0:0x0)
    10381057...st_ino     11
    1039 ...st_mode    100000
     1058...st_mode    100004
    10401059...st_nlink   1
    10411060...st_uid     0
     
    10451064...st_atime   Sat Dec 31 09:00:00 1988
    10461065...st_mtime   Sat Dec 31 09:00:00 1988
    1047 ...st_ctime   Sat Dec 31 09:00:25 1988
     1066...st_ctime   Sat Dec 31 09:00:26 1988
    10481067Change owner of main.c
    1049 stat( main.c ) returned
     1068stat( main.c ) returned 
    10501069...st_dev     (0x0:0x0)
    10511070...st_ino     11
    1052 ...st_mode    100000
     1071...st_mode    100004
    10531072...st_nlink   1
    10541073...st_uid     1
     
    10581077...st_atime   Sat Dec 31 09:00:00 1988
    10591078...st_mtime   Sat Dec 31 09:00:00 1988
    1060 ...st_ctime   Sat Dec 31 09:00:25 1988
     1079...st_ctime   Sat Dec 31 09:00:26 1988
    10611080Change group of dir1/dir1/../../links/dir1
    1062 stat( dir1/dir1/../../links/dir1 ) returned
     1081stat( dir1/dir1/../../links/dir1 ) returned 
    10631082...st_dev     (0x0:0x0)
    10641083...st_ino     3
     
    10711090...st_atime   Sat Dec 31 09:00:00 1988
    10721091...st_mtime   Sat Dec 31 09:00:00 1988
    1073 ...st_ctime   Sat Dec 31 09:00:30 1988
     1092...st_ctime   Sat Dec 31 09:00:31 1988
    10741093Change owner of dir1/dir1/../../links/dir1
    10751094stat( dir1/dir1/../../links/dir1 ) returned : Permission denied
    10761095Change group of links/dir2
    1077 stat( links/dir2 ) returned
     1096stat( links/dir2 ) returned 
    10781097...st_dev     (0x0:0x0)
    10791098...st_ino     4
     
    10861105...st_atime   Sat Dec 31 09:00:00 1988
    10871106...st_mtime   Sat Dec 31 09:00:00 1988
    1088 ...st_ctime   Sat Dec 31 09:00:30 1988
     1107...st_ctime   Sat Dec 31 09:00:31 1988
    10891108Change owner of links/dir2
    1090 stat( links/dir2 ) returned
     1109stat( links/dir2 ) returned 
    10911110...st_dev     (0x0:0x0)
    10921111...st_ino     4
     
    10991118...st_atime   Sat Dec 31 09:00:00 1988
    11001119...st_mtime   Sat Dec 31 09:00:00 1988
    1101 ...st_ctime   Sat Dec 31 09:00:30 1988
     1120...st_ctime   Sat Dec 31 09:00:31 1988
    11021121Change group of links/dir3
    1103 stat( links/dir3 ) returned
     1122stat( links/dir3 ) returned 
    11041123...st_dev     (0x0:0x0)
    11051124...st_ino     5
     
    11121131...st_atime   Sat Dec 31 09:00:00 1988
    11131132...st_mtime   Sat Dec 31 09:00:00 1988
    1114 ...st_ctime   Sat Dec 31 09:00:30 1988
     1133...st_ctime   Sat Dec 31 09:00:31 1988
    11151134Change owner of links/dir3
    1116 stat( links/dir3 ) returned
     1135stat( links/dir3 ) returned 
    11171136...st_dev     (0x0:0x0)
    11181137...st_ino     5
     
    11251144...st_atime   Sat Dec 31 09:00:00 1988
    11261145...st_mtime   Sat Dec 31 09:00:00 1988
    1127 ...st_ctime   Sat Dec 31 09:00:30 1988
     1146...st_ctime   Sat Dec 31 09:00:31 1988
    11281147Change group of links/dir4
    1129 stat( links/dir4 ) returned
     1148stat( links/dir4 ) returned 
    11301149...st_dev     (0x0:0x0)
    11311150...st_ino     6
     
    11381157...st_atime   Sat Dec 31 09:00:00 1988
    11391158...st_mtime   Sat Dec 31 09:00:00 1988
    1140 ...st_ctime   Sat Dec 31 09:00:30 1988
     1159...st_ctime   Sat Dec 31 09:00:31 1988
    11411160Change owner of links/dir4
    1142 stat( links/dir4 ) returned
     1161stat( links/dir4 ) returned 
    11431162...st_dev     (0x0:0x0)
    11441163...st_ino     6
     
    11511170...st_atime   Sat Dec 31 09:00:00 1988
    11521171...st_mtime   Sat Dec 31 09:00:00 1988
    1153 ...st_ctime   Sat Dec 31 09:00:30 1988
     1172...st_ctime   Sat Dec 31 09:00:31 1988
    11541173Change group of links/dir1_dir1
    1155 stat( links/dir1_dir1 ) returned
     1174stat( links/dir1_dir1 ) returned 
    11561175...st_dev     (0x0:0x0)
    11571176...st_ino     7
     
    11641183...st_atime   Sat Dec 31 09:00:00 1988
    11651184...st_mtime   Sat Dec 31 09:00:00 1988
    1166 ...st_ctime   Sat Dec 31 09:00:30 1988
     1185...st_ctime   Sat Dec 31 09:00:31 1988
    11671186Change owner of links/dir1_dir1
    1168 stat( links/dir1_dir1 ) returned
     1187stat( links/dir1_dir1 ) returned 
    11691188...st_dev     (0x0:0x0)
    11701189...st_ino     7
     
    11771196...st_atime   Sat Dec 31 09:00:00 1988
    11781197...st_mtime   Sat Dec 31 09:00:00 1988
    1179 ...st_ctime   Sat Dec 31 09:00:30 1988
     1198...st_ctime   Sat Dec 31 09:00:31 1988
    11801199Change group of links/dir1_ dir1
    11811200stat( links/dir1_ dir1 ) returned : No such file or directory
     
    11831202stat( links/dir1_ dir1 ) returned : No such file or directory
    11841203Change group of links/../links/../links/links
    1185 stat( links/../links/../links/links ) returned
     1204stat( links/../links/../links/links ) returned 
    11861205...st_dev     (0x0:0x0)
    11871206...st_ino     9
     
    11941213...st_atime   Sat Dec 31 09:00:00 1988
    11951214...st_mtime   Sat Dec 31 09:00:00 1988
    1196 ...st_ctime   Sat Dec 31 09:00:30 1988
     1215...st_ctime   Sat Dec 31 09:00:31 1988
    11971216Change owner of links/../links/../links/links
    11981217stat( links/../links/../links/links ) returned : Permission denied
     1218
     1219
    11991220*** END OF STAT TEST 01 ***
  • testsuites/psxtests/psxstat/test.c

    rc1d924d rcbbc55ef  
    479479   */
    480480
     481#if 0
    481482  printf("\n\nPass an invalid mode to chmod should fail with EPERM \n" );
    482483  status = chmod( Files[0], S_IFREG );
    483484  assert( status == -1 );
    484485  assert( errno == EPERM );
     486#endif
    485487
    486488  /*
Note: See TracChangeset for help on using the changeset viewer.