Changeset 1fbd283c in rtems


Ignore:
Timestamp:
Apr 20, 2001, 1:50:54 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cf7884b
Parents:
80526fa
Message:

2001-04-20 Joel Sherrill <joel@…>

  • psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn, psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn, psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c, psxtime/psxtime.scn, psxtimer/psxtimer.scn: Various adjustments so test output matches screens more reliably.
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/ChangeLog

    r80526fa r1fbd283c  
     12001-04-20      Joel Sherrill <joel@OARcorp.com>
     2
     3        * psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn,
     4        psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn,
     5        psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c,
     6        psxtime/psxtime.scn, psxtimer/psxtimer.scn:
     7        Various adjustments so test output matches screens more reliably.
     8
    192001-01-25      Joel Sherrill <joel@OARcorp.com>
    210
  • c/src/tests/psxtests/psx04/init.c

    r80526fa r1fbd283c  
    516516  puts( "Init: pthread_kill - EINVAL (sig invalid)" );
    517517
    518 /*
    519  *  This is now implemented.  We should delete this but for now
    520  *  we will just comment this out.
    521  *
    522  *   status = pthread_kill( 0, SIGUSR1 );
    523  *   if ( status != -1 )
    524  *     printf( "status = %d\n", status );
    525  *   assert( errno == ENOSYS );
    526  *   puts( "Init: pthread_kill - ENOSYS (signal SA_SIGINFO)" );
    527  */
    528 
    529518  status = pthread_kill( 0, SIGUSR2 );
    530519  if ( status != -1 )
  • c/src/tests/psxtests/psx04/psx04.scn

    r80526fa r1fbd283c  
    9191Init: pthread_sigmask - EINVAL (timout->nsec invalid to large)
    9292Init: pthread_kill - EINVAL (sig invalid)
    93 Init: pthread_kill - ENOSYS (signal SA_SIGINFO)
    9493Init: pthread_kill - ESRCH (signal SA_SIGINFO)
    9594Init: pthread_kill - SUCCESSFUL (signal = 0)
  • c/src/tests/psxtests/psx07/init.c

    r80526fa r1fbd283c  
    305305  status = pthread_attr_getstacksize( &attr, &stacksize );
    306306  assert( !status );
    307   printf( "Init: current stack size attribute = %ld\n", (long) stacksize );
     307  if ( stacksize == (STACK_MINIMUM_SIZE * 2) )
     308  printf( "Init: current stack size attribute is OK\n" );
    308309
    309310  /* exercise get and set stack address */
  • c/src/tests/psxtests/psx07/psx07.scn

    r80526fa r1fbd283c  
    4949Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
    5050Init: pthread_attr_getstacksize - SUCCESSFUL
    51 Init: current stack size attribute = 5120
     51Init: current stack size attribute is OK
    5252Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
    5353Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
  • c/src/tests/psxtests/psxfile01/psxfile01.scn

    r80526fa r1fbd283c  
    1818....uid = 0
    1919....gid = 0
    20 ....atime = Fri Jan 01 00:00:00 1988
    21 ....mtime = Fri Jan 01 00:00:00 1988
    22 ....ctime = Fri Jan 01 00:00:00 1988
     20....atime = Fri Jan  1 00:00:00 1988
     21....mtime = Fri Jan  1 00:00:00 1988
     22....ctime = Fri Jan  1 00:00:00 1988
    2323
    2424mkdir /dev/tty
     
    105105....uid = 0
    106106....gid = 0
    107 ....atime = Fri Jan 01 00:00:00 1988
    108 ....mtime = Fri Jan 01 00:00:00 1988
    109 ....ctime = Fri Jan 01 00:00:00 1988
     107....atime = Fri Jan  1 00:00:00 1988
     108....mtime = Fri Jan  1 00:00:00 1988
     109....ctime = Fri Jan  1 00:00:00 1988
    110110fopen of /tmp/j
    111111fprintf to /tmp/j
     
    146146........test_console (device 0, 0)
    147147....etc/
    148 ........passwd (file 0 0x0 0x0 0x0)
     148........passwd (file 0)
    149149....tmp/
    150150........my_dir/
    151 ........tom (file 0 0x0 0x0 0x0)
    152 ........john (file 0 0x0 0x0 0x0)
    153 ........joel (file 279487 0x7d58d8 0x7d5388 0x7cfe38)
    154 ........j (file 130 0x77a338 0x0 0x0)
     151........tom (file 0)
     152........john (file 0)
     153........joel (file 279487)
     154........j (file 130)
    155155***************       End of Dump        ***************
    156156truncate /tmp/j to length of 40
     
    172172........test_console (device 0, 0)
    173173....etc/
    174 ........passwd (file 0 0x0 0x0 0x0)
     174........passwd (file 0)
    175175....tmp/
    176176........my_dir/
    177 ........tom (file 0 0x0 0x0 0x0)
    178 ........john (file 0 0x0 0x0 0x0)
    179 ........j (file 40 0x77a338 0x0 0x0)
     177........tom (file 0)
     178........john (file 0)
     179........j (file 40)
    180180***************       End of Dump        ***************
    181181truncate /tmp/j to length of 0
     
    191191........test_console (device 0, 0)
    192192....etc/
    193 ........passwd (file 0 0x0 0x0 0x0)
     193........passwd (file 0)
    194194....tmp/
    195195........my_dir/
    196 ........tom (file 0 0x0 0x0 0x0)
    197 ........john (file 0 0x0 0x0 0x0)
    198 ........j (file 0 0x77a338 0x0 0x0)
     196........tom (file 0)
     197........john (file 0)
     198........j (file 0)
    199199***************       End of Dump        ***************
    200200*** END OF FILE TEST 1 ***
  • c/src/tests/psxtests/psxmsgq01/psxmsgq01.scn

    r80526fa r1fbd283c  
    7373_______________multi-thread Task 4 Receive Test
    7474Init: mq_receive - Empty queue changes to non-blocking (EAGAIN)
    75 Task_4: Fri Jan 01 00:00:18 1988
     75Task_4: Fri Jan  1 00:00:18 1988
    7676Task_4: Set queue to non-blocking
    7777Task_4: Return queue to blocking
    7878Task_4: pthread_exit
    79 Init: Fri Jan 01 00:00:18 1988
     79Init: Fri Jan  1 00:00:18 1988
    8080_______________multi-thread Task 1 Test
    81 Task_1: Fri Jan 01 00:00:18 1988
     81Task_1: Fri Jan  1 00:00:18 1988
    8282Task_1: mq_send -  to Qblock msg: 12345678 priority 31
    8383Task_1: pthread_exit
    84 Init: Fri Jan 01 00:00:18 1988
     84Init: Fri Jan  1 00:00:18 1988
    8585_______________multi-thread Task 4 Send Test
    8686Init: Verify Queues are empty
     
    8888Init: Verify Queues are full
    8989Init: mq_send - Full queue changes to non-blocking (EAGAIN)
    90 Task_4: Fri Jan 01 00:00:18 1988
     90Task_4: Fri Jan  1 00:00:18 1988
    9191Task_4: Set queue to non-blocking
    9292Task_4: Return queue to blocking
     
    9999Init: Verify Queues are full
    100100Init: mq_send -  to Qblock msg: Last priority 32
    101 Task_2: Fri Jan 01 00:00:18 1988
     101Task_2: Fri Jan  1 00:00:18 1988
    102102Task_2: Verify Queues are full
    103103Task_2: pthread_exit
    104 Init: Fri Jan 01 00:00:18 1988
     104Init: Fri Jan  1 00:00:18 1988
    105105Init: Verify Queues are full
    106106Init: Empty all Queues
     
    110110Init: Verify Queues are full
    111111Init: mq_send - Block while thread deletes queue (EBADF)
    112 Task_3: Fri Jan 01 00:00:18 1988
     112Task_3: Fri Jan  1 00:00:18 1988
    113113_______________Unlink and Close All Files
    114114Task_3: pthread_exit
  • c/src/tests/psxtests/psxreaddir/test.c

    r80526fa r1fbd283c  
    5555  struct dirent *d;
    5656
    57   printf( "    %-20s %8s %8s %8s %4s\n",
    58      "     name", "inode", " offset", "reclen", " type" );
     57  printf( "%-20s %8s %8s %8s %4s\n",
     58     "name", "    inode", " offset", "reclen", " type" );
    5959  d = readdir(directory);
    6060 
    6161  while (d) {
    62     printf( "    %-20s %8d %8d %6d   0x%04x\n",
     62    printf( "%-20s %8d %8d %6d   0x%04x\n",
    6363       d->d_name, (int)d->d_ino, (int)d->d_off, d->d_reclen, d->d_type );
    6464    d = readdir(directory);
     
    264264  status = chdir( "/many" );
    265265  for (i = 0; i<44; i++) {
    266     printf("  Create %s\n", many_files[i]);
     266    printf("Create %s\n", many_files[i]);
    267267    fd = open (many_files[i], O_CREAT, S_IRWXU);
    268268    close (fd);
  • c/src/tests/psxtests/psxstat/psxstat.scn

    r80526fa r1fbd283c  
    99Making directory /./././my_mount_point/links
    1010Making directory ///my_mount_point/dir1/dir1/../../dir1/../symlinks/////
    11 Making file /////my_mount_point/dir1///file1\//
     11Making file /////my_mount_point/dir1/\//file1\\//
    1212Making file /my_mount_point/dir1/file2
    1313Making file /my_mount_point/dir1/file3
     
    4444Doing the stat() on all the good absolute paths
    4545stat( /my_mount_point/dev ) returned
    46 st_dev     (0x0:0x0)
     46...st_dev     (0x0:0x0)
    4747...st_ino     2
    4848...st_mode    40700
     
    5555...st_mtime   Sat Dec 31 09:00:00 1988
    5656...st_ctime   Sat Dec 31 09:00:00 1988
    57 stat( ////my_mount_point/dir1///file1\// ) returned
    58 st_dev     (0x0:0x0)
     57stat( ////my_mount_point/dir1/\//file1\\// ) returned
     58...st_dev     (0x0:0x0)
    5959...st_ino     b
    6060...st_mode    100000
     
    6767...st_mtime   Sat Dec 31 09:00:00 1988
    6868...st_ctime   Sat Dec 31 09:00:10 1988
    69 stat( /my_mount_point/dir1/\/file2 ) returned
    70 st_dev     (0x0:0x0)
     69stat( /my_mount_point/dir1/\\/file2 ) returned
     70...st_dev     (0x0:0x0)
    7171...st_ino     c
    7272...st_mode    100000
     
    7979...st_mtime   Sat Dec 31 09:00:00 1988
    8080...st_ctime   Sat Dec 31 09:00:10 1988
    81 stat( /my_mount_point/dir1/file3/////\ ) returned
    82 st_dev     (0x0:0x0)
     81stat( /my_mount_point/dir1/file3/////\\\ ) returned
     82...st_dev     (0x0:0x0)
    8383...st_ino     d
    8484...st_mode    100000
     
    9292...st_ctime   Sat Dec 31 09:00:10 1988
    9393stat( /my_mount_point/dir1/file4 ) returned
    94 st_dev     (0x0:0x0)
     94...st_dev     (0x0:0x0)
    9595...st_ino     e
    9696...st_mode    100000
     
    104104...st_ctime   Sat Dec 31 09:00:10 1988
    105105stat( /my_mount_point/dir1/dir1/file1 ) returned
    106 st_dev     (0x0:0x0)
     106...st_dev     (0x0:0x0)
    107107...st_ino     f
    108108...st_mode    100000
     
    116116...st_ctime   Sat Dec 31 09:00:10 1988
    117117stat( /my_mount_point/dir1/dir1/ file1 ) returned
    118 st_dev     (0x0:0x0)
     118...st_dev     (0x0:0x0)
    119119...st_ino     10
    120120...st_mode    100000
     
    128128...st_ctime   Sat Dec 31 09:00:10 1988
    129129stat( /my_mount_point/dir1 ) returned
    130 st_dev     (0x0:0x0)
     130...st_dev     (0x0:0x0)
    131131...st_ino     3
    132132...st_mode    40700
     
    139139...st_mtime   Sat Dec 31 09:00:00 1988
    140140...st_ctime   Sat Dec 31 09:00:05 1988
    141 stat( /my_mount_point/dir2////// ) returned
    142 st_dev     (0x0:0x0)
     141stat( /my_mount_point/dir2//////\ ) returned
     142...st_dev     (0x0:0x0)
    143143...st_ino     4
    144144...st_mode    40700
     
    152152...st_ctime   Sat Dec 31 09:00:05 1988
    153153stat( /my_mount_point/dir3 ) returned
    154 st_dev     (0x0:0x0)
     154...st_dev     (0x0:0x0)
    155155...st_ino     5
    156156...st_mode    40700
     
    164164...st_ctime   Sat Dec 31 09:00:05 1988
    165165stat( /my_mount_point/dir4 ) returned
    166 st_dev     (0x0:0x0)
     166...st_dev     (0x0:0x0)
    167167...st_ino     6
    168168...st_mode    40700
     
    176176...st_ctime   Sat Dec 31 09:00:05 1988
    177177stat( /my_mount_point/dir1/dir1 ) returned
    178 st_dev     (0x0:0x0)
     178...st_dev     (0x0:0x0)
    179179...st_ino     7
    180180...st_mode    40700
     
    187187...st_mtime   Sat Dec 31 09:00:00 1988
    188188...st_ctime   Sat Dec 31 09:00:05 1988
    189 stat( /my_mount_point/dir1/ dir1///\ ) returned
    190 st_dev     (0x0:0x0)
     189stat( /my_mount_point/dir1/ dir1///\\ ) returned
     190...st_dev     (0x0:0x0)
    191191...st_ino     8
    192192...st_mode    40700
     
    199199...st_mtime   Sat Dec 31 09:00:00 1988
    200200...st_ctime   Sat Dec 31 09:00:05 1988
    201 stat( /my_mount_point///////links///// ) returned
    202 st_dev     (0x0:0x0)
     201stat( /my_mount_point/\/\/\/\/\/\/links\/\/\/\/\/\ ) returned
     202...st_dev     (0x0:0x0)
    203203...st_ino     9
    204204...st_mode    40700
     
    213213Doing the stat() on all the good relative paths
    214214stat( dev ) returned
    215 st_dev     (0x0:0x0)
     215...st_dev     (0x0:0x0)
    216216...st_ino     2
    217217...st_mode    40700
     
    224224...st_mtime   Sat Dec 31 09:00:00 1988
    225225...st_ctime   Sat Dec 31 09:00:00 1988
    226 stat( dir1///file1\// ) returned
    227 st_dev     (0x0:0x0)
     226stat( dir1/\//file1\\// ) returned
     227...st_dev     (0x0:0x0)
    228228...st_ino     b
    229229...st_mode    100000
     
    236236...st_mtime   Sat Dec 31 09:00:00 1988
    237237...st_ctime   Sat Dec 31 09:00:10 1988
    238 stat( dir1/\/file2 ) returned
    239 st_dev     (0x0:0x0)
     238stat( dir1/\\/file2 ) returned
     239...st_dev     (0x0:0x0)
    240240...st_ino     c
    241241...st_mode    100000
     
    248248...st_mtime   Sat Dec 31 09:00:00 1988
    249249...st_ctime   Sat Dec 31 09:00:10 1988
    250 stat( dir1/file3/////\ ) returned
    251 st_dev     (0x0:0x0)
     250stat( dir1/file3/////\\\ ) returned
     251...st_dev     (0x0:0x0)
    252252...st_ino     d
    253253...st_mode    100000
     
    261261...st_ctime   Sat Dec 31 09:00:10 1988
    262262stat( dir1/file4 ) returned
    263 st_dev     (0x0:0x0)
     263...st_dev     (0x0:0x0)
    264264...st_ino     e
    265265...st_mode    100000
     
    273273...st_ctime   Sat Dec 31 09:00:10 1988
    274274stat( dir1/dir1/file1 ) returned
    275 st_dev     (0x0:0x0)
     275...st_dev     (0x0:0x0)
    276276...st_ino     f
    277277...st_mode    100000
     
    285285...st_ctime   Sat Dec 31 09:00:10 1988
    286286stat( dir1/dir1/ file1 ) returned
    287 st_dev     (0x0:0x0)
     287...st_dev     (0x0:0x0)
    288288...st_ino     10
    289289...st_mode    100000
     
    297297...st_ctime   Sat Dec 31 09:00:10 1988
    298298stat( dir1 ) returned
    299 st_dev     (0x0:0x0)
     299...st_dev     (0x0:0x0)
    300300...st_ino     3
    301301...st_mode    40700
     
    308308...st_mtime   Sat Dec 31 09:00:00 1988
    309309...st_ctime   Sat Dec 31 09:00:05 1988
    310 stat( dir2////// ) returned
    311 st_dev     (0x0:0x0)
     310stat( dir2//////\ ) returned
     311...st_dev     (0x0:0x0)
    312312...st_ino     4
    313313...st_mode    40700
     
    321321...st_ctime   Sat Dec 31 09:00:05 1988
    322322stat( dir3 ) returned
    323 st_dev     (0x0:0x0)
     323...st_dev     (0x0:0x0)
    324324...st_ino     5
    325325...st_mode    40700
     
    333333...st_ctime   Sat Dec 31 09:00:05 1988
    334334stat( dir4 ) returned
    335 st_dev     (0x0:0x0)
     335...st_dev     (0x0:0x0)
    336336...st_ino     6
    337337...st_mode    40700
     
    345345...st_ctime   Sat Dec 31 09:00:05 1988
    346346stat( dir1/dir1 ) returned
    347 st_dev     (0x0:0x0)
     347...st_dev     (0x0:0x0)
    348348...st_ino     7
    349349...st_mode    40700
     
    356356...st_mtime   Sat Dec 31 09:00:00 1988
    357357...st_ctime   Sat Dec 31 09:00:05 1988
    358 stat( dir1/ dir1///\ ) returned
    359 st_dev     (0x0:0x0)
     358stat( dir1/ dir1///\\ ) returned
     359...st_dev     (0x0:0x0)
    360360...st_ino     8
    361361...st_mode    40700
     
    369369...st_ctime   Sat Dec 31 09:00:05 1988
    370370stat( main.c ) returned
    371 st_dev     (0x0:0x0)
     371...st_dev     (0x0:0x0)
    372372...st_ino     11
    373373...st_mode    100000
     
    383383stat relative paths that are now bad
    384384stat( dev ) returned : No such file or directory
    385 stat( dir1///file1\// ) returned : No such file or directory
    386 stat( dir1/\/file2 ) returned : No such file or directory
    387 stat( dir1/file3/////\ ) returned : No such file or directory
     385stat( dir1/\//file1\\// ) returned : No such file or directory
     386stat( dir1/\\/file2 ) returned : No such file or directory
     387stat( dir1/file3/////\\\ ) returned : No such file or directory
    388388stat( dir1/file4 ) returned : No such file or directory
    389389stat( dir1/dir1/file1 ) returned : No such file or directory
    390390stat( dir1/dir1/ file1 ) returned : No such file or directory
    391391stat( dir1 ) returned : No such file or directory
    392 stat( dir2////// ) returned : No such file or directory
     392stat( dir2//////\ ) returned : No such file or directory
    393393stat( dir3 ) returned : No such file or directory
    394394stat( dir4 ) returned : No such file or directory
    395395stat( dir1/dir1 ) returned : No such file or directory
    396 stat( dir1/ dir1///\ ) returned : No such file or directory
     396stat( dir1/ dir1///\\ ) returned : No such file or directory
    397397stat( main.c ) returned : No such file or directory
    398398chdir to ../links
    399399Doing the stat() on good links
    400400stat( dir1/dir1/../../links/dir1 ) returned
    401 st_dev     (0x0:0x0)
     401...st_dev     (0x0:0x0)
    402402...st_ino     3
    403403...st_mode    40700
     
    411411...st_ctime   Sat Dec 31 09:00:05 1988
    412412stat( links/dir2 ) returned
    413 st_dev     (0x0:0x0)
     413...st_dev     (0x0:0x0)
    414414...st_ino     4
    415415...st_mode    40700
     
    423423...st_ctime   Sat Dec 31 09:00:05 1988
    424424stat( links/dir3 ) returned
    425 st_dev     (0x0:0x0)
     425...st_dev     (0x0:0x0)
    426426...st_ino     5
    427427...st_mode    40700
     
    435435...st_ctime   Sat Dec 31 09:00:05 1988
    436436stat( links/dir4 ) returned
    437 st_dev     (0x0:0x0)
     437...st_dev     (0x0:0x0)
    438438...st_ino     6
    439439...st_mode    40700
     
    447447...st_ctime   Sat Dec 31 09:00:05 1988
    448448stat( links/dir1_dir1 ) returned
    449 st_dev     (0x0:0x0)
     449...st_dev     (0x0:0x0)
    450450...st_ino     7
    451451...st_mode    40700
     
    459459...st_ctime   Sat Dec 31 09:00:05 1988
    460460stat( links/dir1_ dir1 ) returned
    461 st_dev     (0x0:0x0)
     461...st_dev     (0x0:0x0)
    462462...st_ino     8
    463463...st_mode    40700
     
    471471...st_ctime   Sat Dec 31 09:00:05 1988
    472472stat( links/../links/../links/links ) returned
    473 st_dev     (0x0:0x0)
     473...st_dev     (0x0:0x0)
    474474...st_ino     9
    475475...st_mode    40700
     
    483483...st_ctime   Sat Dec 31 09:00:05 1988
    484484stat( links/dir1_file1 ) returned
    485 st_dev     (0x0:0x0)
     485...st_dev     (0x0:0x0)
    486486...st_ino     b
    487487...st_mode    100000
     
    495495...st_ctime   Sat Dec 31 09:00:10 1988
    496496stat( links/dir1_file2 ) returned
    497 st_dev     (0x0:0x0)
     497...st_dev     (0x0:0x0)
    498498...st_ino     c
    499499...st_mode    100000
     
    507507...st_ctime   Sat Dec 31 09:00:10 1988
    508508stat( links/dir1_file3 ) returned
    509 st_dev     (0x0:0x0)
     509...st_dev     (0x0:0x0)
    510510...st_ino     d
    511511...st_mode    100000
     
    519519...st_ctime   Sat Dec 31 09:00:10 1988
    520520stat( links/dir1_file4 ) returned
    521 st_dev     (0x0:0x0)
     521...st_dev     (0x0:0x0)
    522522...st_ino     e
    523523...st_mode    100000
     
    531531...st_ctime   Sat Dec 31 09:00:10 1988
    532532stat( links/dir1_dir1_f1 ) returned
    533 st_dev     (0x0:0x0)
     533...st_dev     (0x0:0x0)
    534534...st_ino     f
    535535...st_mode    100000
     
    543543...st_ctime   Sat Dec 31 09:00:10 1988
    544544stat( links/dir1_dir1 f1 ) returned
    545 st_dev     (0x0:0x0)
     545...st_dev     (0x0:0x0)
    546546...st_ino     10
    547547...st_mode    100000
     
    555555...st_ctime   Sat Dec 31 09:00:10 1988
    556556stat( links/links/links/links_dir1 ) returned
    557 st_dev     (0x0:0x0)
     557...st_dev     (0x0:0x0)
    558558...st_ino     3
    559559...st_mode    40700
     
    567567...st_ctime   Sat Dec 31 09:00:05 1988
    568568stat( links//links_dir2 ) returned
    569 st_dev     (0x0:0x0)
     569...st_dev     (0x0:0x0)
    570570...st_ino     4
    571571...st_mode    40700
     
    579579...st_ctime   Sat Dec 31 09:00:05 1988
    580580stat( links//links_dir3 ) returned
    581 st_dev     (0x0:0x0)
     581...st_dev     (0x0:0x0)
    582582...st_ino     5
    583583...st_mode    40700
     
    591591...st_ctime   Sat Dec 31 09:00:05 1988
    592592stat( links//links_dir4 ) returned
    593 st_dev     (0x0:0x0)
     593...st_dev     (0x0:0x0)
    594594...st_ino     6
    595595...st_mode    40700
     
    603603...st_ctime   Sat Dec 31 09:00:05 1988
    604604stat( links//links_dir1_d1 ) returned
    605 st_dev     (0x0:0x0)
     605...st_dev     (0x0:0x0)
    606606...st_ino     7
    607607...st_mode    40700
     
    615615...st_ctime   Sat Dec 31 09:00:05 1988
    616616stat( links//links_dir1 d1 ) returned
    617 st_dev     (0x0:0x0)
     617...st_dev     (0x0:0x0)
    618618...st_ino     8
    619619...st_mode    40700
     
    627627...st_ctime   Sat Dec 31 09:00:05 1988
    628628stat( links//links_links ) returned
    629 st_dev     (0x0:0x0)
     629...st_dev     (0x0:0x0)
    630630...st_ino     9
    631631...st_mode    40700
     
    639639...st_ctime   Sat Dec 31 09:00:05 1988
    640640stat( links///links_d1_file1 ) returned
    641 st_dev     (0x0:0x0)
     641...st_dev     (0x0:0x0)
    642642...st_ino     b
    643643...st_mode    100000
     
    651651...st_ctime   Sat Dec 31 09:00:10 1988
    652652stat( links///links_d1_file2 ) returned
    653 st_dev     (0x0:0x0)
     653...st_dev     (0x0:0x0)
    654654...st_ino     c
    655655...st_mode    100000
     
    663663...st_ctime   Sat Dec 31 09:00:10 1988
    664664stat( links///links_d1_file3 ) returned
    665 st_dev     (0x0:0x0)
     665...st_dev     (0x0:0x0)
    666666...st_ino     d
    667667...st_mode    100000
     
    675675...st_ctime   Sat Dec 31 09:00:10 1988
    676676stat( links///links_d1_file4 ) returned
    677 st_dev     (0x0:0x0)
     677...st_dev     (0x0:0x0)
    678678...st_ino     e
    679679...st_mode    100000
     
    687687...st_ctime   Sat Dec 31 09:00:10 1988
    688688stat( links///links_d1_d1_f1 ) returned
    689 st_dev     (0x0:0x0)
     689...st_dev     (0x0:0x0)
    690690...st_ino     f
    691691...st_mode    100000
     
    699699...st_ctime   Sat Dec 31 09:00:10 1988
    700700stat( links///links_r1_d1 f1 ) returned
    701 st_dev     (0x0:0x0)
     701...st_dev     (0x0:0x0)
    702702...st_ino     10
    703703...st_mode    100000
     
    732732Verify with readlink
    733733stat( /my_mount_point/symlinks/a_file_symlink ) returned
    734 st_dev     (0x0:0x0)
     734...st_dev     (0x0:0x0)
    735735...st_ino     b
    736736...st_mode    100000
     
    744744...st_ctime   Sat Dec 31 09:00:10 1988
    745745stat( /my_mount_point/symlinks/a_dir_symlink ) returned
    746 st_dev     (0x0:0x0)
     746...st_dev     (0x0:0x0)
    747747...st_ino     3
    748748...st_mode    40700
     
    756756...st_ctime   Sat Dec 31 09:00:05 1988
    757757stat( /my_mount_point/symlinks/a_link_symlink ) returned
    758 st_dev     (0x0:0x0)
     758...st_dev     (0x0:0x0)
    759759...st_ino     3
    760760...st_mode    40700
     
    769769stat( ../symlinks/no_file ) returned : No such file or directory
    770770stat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
    771 st_dev     (0x0:0x0)
     771...st_dev     (0x0:0x0)
    772772...st_ino     3
    773773...st_mode    40700
     
    826826stat( /./././my_mount_point/dir1/ dir1 ) returned : No such file or directory
    827827stat( links/dir1_ dir1 ) returned
    828 st_dev     (0x0:0x0)
     828...st_dev     (0x0:0x0)
    829829...st_ino     8
    830830...st_mode    40700
     
    838838...st_ctime   Sat Dec 31 09:00:20 1988
    839839stat( links//links_dir1 d1 ) returned
    840 st_dev     (0x0:0x0)
     840...st_dev     (0x0:0x0)
    841841...st_ino     8
    842842...st_mode    40700
     
    862862rmdir /dir1/my_mount_point should fail with EBUSY
    863863Unmount /my_mount_point/dir1/my_mount_point
    864 chmod of /////my_mount_point/dir1///file1\// to group and other execute
    865 Open /////my_mount_point/dir1///file1\// for write should fail with EACCES
     864chmod of /////my_mount_point/dir1/\//file1\\// to group and other execute
     865Open /////my_mount_point/dir1/\//file1\\// for write should fail with EACCES
    866866chmod of /my_mount_point/dir4 to User Execute and Read
    867867Mkdir of /my_mount_point/dir4/NewFile should fail with EACCES
     
    877877pass fstat a null pointer should fail with EFAULT
    878878chdir to /my_mount_point
    879 Change group of /////my_mount_point/dir1///file1\//
    880 stat( /////my_mount_point/dir1///file1\// ) returned
    881 st_dev     (0x0:0x0)
     879Change group of /////my_mount_point/dir1/\//file1\\//
     880stat( /////my_mount_point/dir1/\//file1\\// ) returned
     881...st_dev     (0x0:0x0)
    882882...st_ino     b
    883883...st_mode    100011
     
    890890...st_mtime   Sat Dec 31 09:00:00 1988
    891891...st_ctime   Sat Dec 31 09:00:25 1988
    892 Change owner of /////my_mount_point/dir1///file1\//
    893 stat( /////my_mount_point/dir1///file1\// ) returned
    894 st_dev     (0x0:0x0)
     892Change owner of /////my_mount_point/dir1/\//file1\\//
     893stat( /////my_mount_point/dir1/\//file1\\// ) returned
     894...st_dev     (0x0:0x0)
    895895...st_ino     b
    896896...st_mode    100011
     
    905905Change group of /my_mount_point/dir1/file2
    906906stat( /my_mount_point/dir1/file2 ) returned
    907 st_dev     (0x0:0x0)
     907...st_dev     (0x0:0x0)
    908908...st_ino     c
    909909...st_mode    100000
     
    918918Change owner of /my_mount_point/dir1/file2
    919919stat( /my_mount_point/dir1/file2 ) returned
    920 st_dev     (0x0:0x0)
     920...st_dev     (0x0:0x0)
    921921...st_ino     c
    922922...st_mode    100000
     
    931931Change group of /my_mount_point/dir1/file3
    932932stat( /my_mount_point/dir1/file3 ) returned
    933 st_dev     (0x0:0x0)
     933...st_dev     (0x0:0x0)
    934934...st_ino     d
    935935...st_mode    100000
     
    944944Change owner of /my_mount_point/dir1/file3
    945945stat( /my_mount_point/dir1/file3 ) returned
    946 st_dev     (0x0:0x0)
     946...st_dev     (0x0:0x0)
    947947...st_ino     d
    948948...st_mode    100000
     
    957957Change group of /my_mount_point/dir1/file4
    958958stat( /my_mount_point/dir1/file4 ) returned
    959 st_dev     (0x0:0x0)
     959...st_dev     (0x0:0x0)
    960960...st_ino     e
    961961...st_mode    100000
     
    970970Change owner of /my_mount_point/dir1/file4
    971971stat( /my_mount_point/dir1/file4 ) returned
    972 st_dev     (0x0:0x0)
     972...st_dev     (0x0:0x0)
    973973...st_ino     e
    974974...st_mode    100000
     
    983983Change group of /my_mount_point/dir1/dir1/file1
    984984stat( /my_mount_point/dir1/dir1/file1 ) returned
    985 st_dev     (0x0:0x0)
     985...st_dev     (0x0:0x0)
    986986...st_ino     f
    987987...st_mode    100000
     
    996996Change owner of /my_mount_point/dir1/dir1/file1
    997997stat( /my_mount_point/dir1/dir1/file1 ) returned
    998 st_dev     (0x0:0x0)
     998...st_dev     (0x0:0x0)
    999999...st_ino     f
    10001000...st_mode    100000
     
    10091009Change group of ../../..//my_mount_point/dir1/./././dir1/ file1
    10101010stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
    1011 st_dev     (0x0:0x0)
     1011...st_dev     (0x0:0x0)
    10121012...st_ino     10
    10131013...st_mode    100000
     
    10221022Change owner of ../../..//my_mount_point/dir1/./././dir1/ file1
    10231023stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
    1024 st_dev     (0x0:0x0)
     1024...st_dev     (0x0:0x0)
    10251025...st_ino     10
    10261026...st_mode    100000
     
    10351035Change group of main.c
    10361036stat( main.c ) returned
    1037 st_dev     (0x0:0x0)
     1037...st_dev     (0x0:0x0)
    10381038...st_ino     11
    10391039...st_mode    100000
     
    10481048Change owner of main.c
    10491049stat( main.c ) returned
    1050 st_dev     (0x0:0x0)
     1050...st_dev     (0x0:0x0)
    10511051...st_ino     11
    10521052...st_mode    100000
     
    10611061Change group of dir1/dir1/../../links/dir1
    10621062stat( dir1/dir1/../../links/dir1 ) returned
    1063 st_dev     (0x0:0x0)
     1063...st_dev     (0x0:0x0)
    10641064...st_ino     3
    10651065...st_mode    40700
     
    10761076Change group of links/dir2
    10771077stat( links/dir2 ) returned
    1078 st_dev     (0x0:0x0)
     1078...st_dev     (0x0:0x0)
    10791079...st_ino     4
    10801080...st_mode    40700
     
    10891089Change owner of links/dir2
    10901090stat( links/dir2 ) returned
    1091 st_dev     (0x0:0x0)
     1091...st_dev     (0x0:0x0)
    10921092...st_ino     4
    10931093...st_mode    40700
     
    11021102Change group of links/dir3
    11031103stat( links/dir3 ) returned
    1104 st_dev     (0x0:0x0)
     1104...st_dev     (0x0:0x0)
    11051105...st_ino     5
    11061106...st_mode    40700
     
    11151115Change owner of links/dir3
    11161116stat( links/dir3 ) returned
    1117 st_dev     (0x0:0x0)
     1117...st_dev     (0x0:0x0)
    11181118...st_ino     5
    11191119...st_mode    40700
     
    11281128Change group of links/dir4
    11291129stat( links/dir4 ) returned
    1130 st_dev     (0x0:0x0)
     1130...st_dev     (0x0:0x0)
    11311131...st_ino     6
    11321132...st_mode    40500
     
    11411141Change owner of links/dir4
    11421142stat( links/dir4 ) returned
    1143 st_dev     (0x0:0x0)
     1143...st_dev     (0x0:0x0)
    11441144...st_ino     6
    11451145...st_mode    40500
     
    11541154Change group of links/dir1_dir1
    11551155stat( links/dir1_dir1 ) returned
    1156 st_dev     (0x0:0x0)
     1156...st_dev     (0x0:0x0)
    11571157...st_ino     7
    11581158...st_mode    40700
     
    11671167Change owner of links/dir1_dir1
    11681168stat( links/dir1_dir1 ) returned
    1169 st_dev     (0x0:0x0)
     1169...st_dev     (0x0:0x0)
    11701170...st_ino     7
    11711171...st_mode    40700
     
    11841184Change group of links/../links/../links/links
    11851185stat( links/../links/../links/links ) returned
    1186 st_dev     (0x0:0x0)
     1186...st_dev     (0x0:0x0)
    11871187...st_ino     9
    11881188...st_mode    40700
  • c/src/tests/psxtests/psxstat/test.c

    r80526fa r1fbd283c  
    195195
    196196
    197     printf("\n\tst_dev     (0x%x:0x%x)\n", major1, minor1 );
     197    printf("\n...st_dev     (0x%x:0x%x)\n", major1, minor1 );
    198198    printf(  "...st_ino     %x\n", (int) statbuf.st_ino );
    199199    printf(  "...st_mode    %o\n", statbuf.st_mode );
     
    688688  assert( errno == EACCES );
    689689
    690   printf(" Making too many hard links.\n" );
     690  printf("Making too many hard links.\n" );
    691691  make_too_many_links( );
    692692
  • c/src/tests/psxtests/psxtime/psxtime.scn

    r80526fa r1fbd283c  
    44rtems_clock_set          12:45:00   01/01/1988
    55rtems_clock_get          12:45:00   01/01/1988
    6 gettimeofday: Fri Jan 01 12:45:00 1988
    7 time:         Fri Jan 01 12:45:00 1988
    8 localtime:    Fri Jan 01 12:45:00 1988
    9 gmtime:       Fri Jan 01 12:45:00 1988
     6gettimeofday: Fri Jan   1 12:45:00 1988
     7time:         Fri Jan   1 12:45:00 1988
     8localtime:    Fri Jan   1 12:45:00 1988
     9gmtime:       Fri Jan   1 12:45:00 1988
    1010
    1111rtems_clock_get          12:45:05   01/01/1988
    12 gettimeofday: Fri Jan 01 12:45:05 1988
    13 time:         Fri Jan 01 12:45:05 1988
    14 localtime:    Fri Jan 01 12:45:05 1988
    15 gmtime:       Fri Jan 01 12:45:05 1988
     12gettimeofday: Fri Jan   1 12:45:05 1988
     13time:         Fri Jan   1 12:45:05 1988
     14localtime:    Fri Jan   1 12:45:05 1988
     15gmtime:       Fri Jan   1 12:45:05 1988
    1616
    1717rtems_clock_get          12:45:10   01/01/1988
    18 gettimeofday: Fri Jan 01 12:45:10 1988
    19 time:         Fri Jan 01 12:45:10 1988
    20 localtime:    Fri Jan 01 12:45:10 1988
    21 gmtime:       Fri Jan 01 12:45:10 1988
     18gettimeofday: Fri Jan   1 12:45:10 1988
     19time:         Fri Jan   1 12:45:10 1988
     20localtime:    Fri Jan   1 12:45:10 1988
     21gmtime:       Fri Jan   1 12:45:10 1988
    2222
    2323rtems_clock_get          12:45:15   01/01/1988
    24 gettimeofday: Fri Jan 01 12:45:15 1988
    25 time:         Fri Jan 01 12:45:15 1988
    26 localtime:    Fri Jan 01 12:45:15 1988
    27 gmtime:       Fri Jan 01 12:45:15 1988
     24gettimeofday: Fri Jan   1 12:45:15 1988
     25time:         Fri Jan   1 12:45:15 1988
     26localtime:    Fri Jan   1 12:45:15 1988
     27gmtime:       Fri Jan   1 12:45:15 1988
    2828
    2929rtems_clock_get          12:45:20   01/01/1988
    30 gettimeofday: Fri Jan 01 12:45:20 1988
    31 time:         Fri Jan 01 12:45:20 1988
    32 localtime:    Fri Jan 01 12:45:20 1988
    33 gmtime:       Fri Jan 01 12:45:20 1988
     30gettimeofday: Fri Jan   1 12:45:20 1988
     31time:         Fri Jan   1 12:45:20 1988
     32localtime:    Fri Jan   1 12:45:20 1988
     33gmtime:       Fri Jan   1 12:45:20 1988
    3434
    3535rtems_clock_get          12:45:25   01/01/1988
    36 gettimeofday: Fri Jan 01 12:45:25 1988
    37 time:         Fri Jan 01 12:45:25 1988
    38 localtime:    Fri Jan 01 12:45:25 1988
    39 gmtime:       Fri Jan 01 12:45:25 1988
     36gettimeofday: Fri Jan   1 12:45:25 1988
     37time:         Fri Jan   1 12:45:25 1988
     38localtime:    Fri Jan   1 12:45:25 1988
     39gmtime:       Fri Jan   1 12:45:25 1988
    4040
    4141rtems_clock_set          09:00:00   12/31/1988
     
    152152rtems_clock_set          00:15:59   01/01/2000
    153153rtems_clock_get          00:15:59   01/01/2000
    154 gettimeofday: Sat Jan 01 00:15:59 2000
    155 time:         Sat Jan 01 00:15:59 2000
    156 localtime:    Sat Jan 01 00:15:59 2000
    157 gmtime:       Sat Jan 01 00:15:59 2000
     154gettimeofday: Sat Jan   1 00:15:59 2000
     155time:         Sat Jan   1 00:15:59 2000
     156localtime:    Sat Jan   1 00:15:59 2000
     157gmtime:       Sat Jan   1 00:15:59 2000
    158158
    159159rtems_clock_get          00:16:04   01/01/2000
    160 gettimeofday: Sat Jan 01 00:16:04 2000
    161 time:         Sat Jan 01 00:16:04 2000
    162 localtime:    Sat Jan 01 00:16:04 2000
    163 gmtime:       Sat Jan 01 00:16:04 2000
     160gettimeofday: Sat Jan   1 00:16:04 2000
     161time:         Sat Jan   1 00:16:04 2000
     162localtime:    Sat Jan   1 00:16:04 2000
     163gmtime:       Sat Jan   1 00:16:04 2000
    164164
    165165rtems_clock_get          00:16:09   01/01/2000
    166 gettimeofday: Sat Jan 01 00:16:09 2000
    167 time:         Sat Jan 01 00:16:09 2000
    168 localtime:    Sat Jan 01 00:16:09 2000
    169 gmtime:       Sat Jan 01 00:16:09 2000
     166gettimeofday: Sat Jan   1 00:16:09 2000
     167time:         Sat Jan   1 00:16:09 2000
     168localtime:    Sat Jan   1 00:16:09 2000
     169gmtime:       Sat Jan   1 00:16:09 2000
    170170
    171171rtems_clock_get          00:16:14   01/01/2000
    172 gettimeofday: Sat Jan 01 00:16:14 2000
    173 time:         Sat Jan 01 00:16:14 2000
    174 localtime:    Sat Jan 01 00:16:14 2000
    175 gmtime:       Sat Jan 01 00:16:14 2000
     172gettimeofday: Sat Jan   1 00:16:14 2000
     173time:         Sat Jan   1 00:16:14 2000
     174localtime:    Sat Jan   1 00:16:14 2000
     175gmtime:       Sat Jan   1 00:16:14 2000
    176176
    177177rtems_clock_get          00:16:19   01/01/2000
    178 gettimeofday: Sat Jan 01 00:16:19 2000
    179 time:         Sat Jan 01 00:16:19 2000
    180 localtime:    Sat Jan 01 00:16:19 2000
    181 gmtime:       Sat Jan 01 00:16:19 2000
     178gettimeofday: Sat Jan   1 00:16:19 2000
     179time:         Sat Jan   1 00:16:19 2000
     180localtime:    Sat Jan   1 00:16:19 2000
     181gmtime:       Sat Jan   1 00:16:19 2000
    182182
    183183rtems_clock_get          00:16:24   01/01/2000
    184 gettimeofday: Sat Jan 01 00:16:24 2000
    185 time:         Sat Jan 01 00:16:24 2000
    186 localtime:    Sat Jan 01 00:16:24 2000
    187 gmtime:       Sat Jan 01 00:16:24 2000
     184gettimeofday: Sat Jan   1 00:16:24 2000
     185time:         Sat Jan   1 00:16:24 2000
     186localtime:    Sat Jan   1 00:16:24 2000
     187gmtime:       Sat Jan   1 00:16:24 2000
    188188
    189189rtems_clock_set          05:10:59   02/02/2005
    190190rtems_clock_get          05:10:59   02/02/2005
    191 gettimeofday: Wed Feb 02 05:10:59 2005
    192 time:         Wed Feb 02 05:10:59 2005
    193 localtime:    Wed Feb 02 05:10:59 2005
    194 gmtime:       Wed Feb 02 05:10:59 2005
     191gettimeofday: Wed Feb  2 05:10:59 2005
     192time:         Wed Feb  2 05:10:59 2005
     193localtime:    Wed Feb  2 05:10:59 2005
     194gmtime:       Wed Feb  2 05:10:59 2005
    195195
    196196rtems_clock_get          05:11:04   02/02/2005
    197 gettimeofday: Wed Feb 02 05:11:04 2005
    198 time:         Wed Feb 02 05:11:04 2005
    199 localtime:    Wed Feb 02 05:11:04 2005
    200 gmtime:       Wed Feb 02 05:11:04 2005
     197gettimeofday: Wed Feb  2 05:11:04 2005
     198time:         Wed Feb  2 05:11:04 2005
     199localtime:    Wed Feb  2 05:11:04 2005
     200gmtime:       Wed Feb  2 05:11:04 2005
    201201
    202202rtems_clock_get          05:11:09   02/02/2005
    203 gettimeofday: Wed Feb 02 05:11:09 2005
    204 time:         Wed Feb 02 05:11:09 2005
    205 localtime:    Wed Feb 02 05:11:09 2005
    206 gmtime:       Wed Feb 02 05:11:09 2005
     203gettimeofday: Wed Feb  2 05:11:09 2005
     204time:         Wed Feb  2 05:11:09 2005
     205localtime:    Wed Feb  2 05:11:09 2005
     206gmtime:       Wed Feb  2 05:11:09 2005
    207207
    208208rtems_clock_get          05:11:14   02/02/2005
    209 gettimeofday: Wed Feb 02 05:11:14 2005
    210 time:         Wed Feb 02 05:11:14 2005
    211 localtime:    Wed Feb 02 05:11:14 2005
    212 gmtime:       Wed Feb 02 05:11:14 2005
     209gettimeofday: Wed Feb  2 05:11:14 2005
     210time:         Wed Feb  2 05:11:14 2005
     211localtime:    Wed Feb  2 05:11:14 2005
     212gmtime:       Wed Feb  2 05:11:14 2005
    213213
    214214rtems_clock_get          05:11:19   02/02/2005
    215 gettimeofday: Wed Feb 02 05:11:19 2005
    216 time:         Wed Feb 02 05:11:19 2005
    217 localtime:    Wed Feb 02 05:11:19 2005
    218 gmtime:       Wed Feb 02 05:11:19 2005
     215gettimeofday: Wed Feb  2 05:11:19 2005
     216time:         Wed Feb  2 05:11:19 2005
     217localtime:    Wed Feb  2 05:11:19 2005
     218gmtime:       Wed Feb  2 05:11:19 2005
    219219
    220220rtems_clock_get          05:11:24   02/02/2005
    221 gettimeofday: Wed Feb 02 05:11:24 2005
    222 time:         Wed Feb 02 05:11:24 2005
    223 localtime:    Wed Feb 02 05:11:24 2005
    224 gmtime:       Wed Feb 02 05:11:24 2005
     221gettimeofday: Wed Feb  2 05:11:24 2005
     222time:         Wed Feb  2 05:11:24 2005
     223localtime:    Wed Feb  2 05:11:24 2005
     224gmtime:       Wed Feb  2 05:11:24 2005
    225225
    226226rtems_clock_set          10:05:59   03/03/2010
    227227rtems_clock_get          10:05:59   03/03/2010
    228 gettimeofday: Wed Mar 03 10:05:59 2010
    229 time:         Wed Mar 03 10:05:59 2010
    230 localtime:    Wed Mar 03 10:05:59 2010
    231 gmtime:       Wed Mar 03 10:05:59 2010
     228gettimeofday: Wed Mar  3 10:05:59 2010
     229time:         Wed Mar  3 10:05:59 2010
     230localtime:    Wed Mar  3 10:05:59 2010
     231gmtime:       Wed Mar  3 10:05:59 2010
    232232
    233233rtems_clock_get          10:06:04   03/03/2010
    234 gettimeofday: Wed Mar 03 10:06:04 2010
    235 time:         Wed Mar 03 10:06:04 2010
    236 localtime:    Wed Mar 03 10:06:04 2010
    237 gmtime:       Wed Mar 03 10:06:04 2010
     234gettimeofday: Wed Mar  3 10:06:04 2010
     235time:         Wed Mar  3 10:06:04 2010
     236localtime:    Wed Mar  3 10:06:04 2010
     237gmtime:       Wed Mar  3 10:06:04 2010
    238238
    239239rtems_clock_get          10:06:09   03/03/2010
    240 gettimeofday: Wed Mar 03 10:06:09 2010
    241 time:         Wed Mar 03 10:06:09 2010
    242 localtime:    Wed Mar 03 10:06:09 2010
    243 gmtime:       Wed Mar 03 10:06:09 2010
     240gettimeofday: Wed Mar  3 10:06:09 2010
     241time:         Wed Mar  3 10:06:09 2010
     242localtime:    Wed Mar  3 10:06:09 2010
     243gmtime:       Wed Mar  3 10:06:09 2010
    244244
    245245rtems_clock_get          10:06:14   03/03/2010
    246 gettimeofday: Wed Mar 03 10:06:14 2010
    247 time:         Wed Mar 03 10:06:14 2010
    248 localtime:    Wed Mar 03 10:06:14 2010
    249 gmtime:       Wed Mar 03 10:06:14 2010
     246gettimeofday: Wed Mar  3 10:06:14 2010
     247time:         Wed Mar  3 10:06:14 2010
     248localtime:    Wed Mar  3 10:06:14 2010
     249gmtime:       Wed Mar  3 10:06:14 2010
    250250
    251251rtems_clock_get          10:06:19   03/03/2010
    252 gettimeofday: Wed Mar 03 10:06:19 2010
    253 time:         Wed Mar 03 10:06:19 2010
    254 localtime:    Wed Mar 03 10:06:19 2010
    255 gmtime:       Wed Mar 03 10:06:19 2010
     252gettimeofday: Wed Mar  3 10:06:19 2010
     253time:         Wed Mar  3 10:06:19 2010
     254localtime:    Wed Mar  3 10:06:19 2010
     255gmtime:       Wed Mar  3 10:06:19 2010
    256256
    257257rtems_clock_get          10:06:24   03/03/2010
    258 gettimeofday: Wed Mar 03 10:06:24 2010
    259 time:         Wed Mar 03 10:06:24 2010
    260 localtime:    Wed Mar 03 10:06:24 2010
    261 gmtime:       Wed Mar 03 10:06:24 2010
     258gettimeofday: Wed Mar  3 10:06:24 2010
     259time:         Wed Mar  3 10:06:24 2010
     260localtime:    Wed Mar  3 10:06:24 2010
     261gmtime:       Wed Mar  3 10:06:24 2010
    262262
    263263rtems_clock_set          15:00:59   04/04/2020
    264264rtems_clock_get          15:00:59   04/04/2020
    265 gettimeofday: Sat Apr 04 15:00:59 2020
    266 time:         Sat Apr 04 15:00:59 2020
    267 localtime:    Sat Apr 04 15:00:59 2020
    268 gmtime:       Sat Apr 04 15:00:59 2020
     265gettimeofday: Sat Apr  4 15:00:59 2020
     266time:         Sat Apr  4 15:00:59 2020
     267localtime:    Sat Apr  4 15:00:59 2020
     268gmtime:       Sat Apr  4 15:00:59 2020
    269269
    270270rtems_clock_get          15:01:04   04/04/2020
    271 gettimeofday: Sat Apr 04 15:01:04 2020
    272 time:         Sat Apr 04 15:01:04 2020
    273 localtime:    Sat Apr 04 15:01:04 2020
    274 gmtime:       Sat Apr 04 15:01:04 2020
     271gettimeofday: Sat Apr  4 15:01:04 2020
     272time:         Sat Apr  4 15:01:04 2020
     273localtime:    Sat Apr  4 15:01:04 2020
     274gmtime:       Sat Apr  4 15:01:04 2020
    275275
    276276rtems_clock_get          15:01:09   04/04/2020
    277 gettimeofday: Sat Apr 04 15:01:09 2020
    278 time:         Sat Apr 04 15:01:09 2020
    279 localtime:    Sat Apr 04 15:01:09 2020
    280 gmtime:       Sat Apr 04 15:01:09 2020
     277gettimeofday: Sat Apr  4 15:01:09 2020
     278time:         Sat Apr  4 15:01:09 2020
     279localtime:    Sat Apr  4 15:01:09 2020
     280gmtime:       Sat Apr  4 15:01:09 2020
    281281
    282282rtems_clock_get          15:01:14   04/04/2020
    283 gettimeofday: Sat Apr 04 15:01:14 2020
    284 time:         Sat Apr 04 15:01:14 2020
    285 localtime:    Sat Apr 04 15:01:14 2020
    286 gmtime:       Sat Apr 04 15:01:14 2020
     283gettimeofday: Sat Apr  4 15:01:14 2020
     284time:         Sat Apr  4 15:01:14 2020
     285localtime:    Sat Apr  4 15:01:14 2020
     286gmtime:       Sat Apr  4 15:01:14 2020
    287287
    288288rtems_clock_get          15:01:19   04/04/2020
    289 gettimeofday: Sat Apr 04 15:01:19 2020
    290 time:         Sat Apr 04 15:01:19 2020
    291 localtime:    Sat Apr 04 15:01:19 2020
    292 gmtime:       Sat Apr 04 15:01:19 2020
     289gettimeofday: Sat Apr  4 15:01:19 2020
     290time:         Sat Apr  4 15:01:19 2020
     291localtime:    Sat Apr  4 15:01:19 2020
     292gmtime:       Sat Apr  4 15:01:19 2020
    293293
    294294rtems_clock_get          15:01:24   04/04/2020
    295 gettimeofday: Sat Apr 04 15:01:24 2020
    296 time:         Sat Apr 04 15:01:24 2020
    297 localtime:    Sat Apr 04 15:01:24 2020
    298 gmtime:       Sat Apr 04 15:01:24 2020
     295gettimeofday: Sat Apr  4 15:01:24 2020
     296time:         Sat Apr  4 15:01:24 2020
     297localtime:    Sat Apr  4 15:01:24 2020
     298gmtime:       Sat Apr  4 15:01:24 2020
    299299
    300300
  • c/src/tests/psxtests/psxtimer/psxtimer.scn

    r80526fa r1fbd283c  
    11*** POSIX Timers Test ***
    2 Executing task A Fri Jan 01 00:00:01 1988
    3 Executing task B with x = 1 Fri Jan 01 00:00:02 1988
    4 Executing task A Fri Jan 01 00:00:02 1988
    5 Executing task C with x = 1 Fri Jan 01 00:00:03 1988
    6 Executing task A Fri Jan 01 00:00:03 1988
    7 Executing task B with x = 2 Fri Jan 01 00:00:04 1988
    8 Executing task A Fri Jan 01 00:00:04 1988
    9 Executing task A Fri Jan 01 00:00:05 1988
    10 Executing task B with x = 3 Fri Jan 01 00:00:06 1988
    11 Executing task C with x = 3 Fri Jan 01 00:00:06 1988
    12 Executing task A Fri Jan 01 00:00:06 1988
    13 Executing task A Fri Jan 01 00:00:07 1988
    14 Executing task B with x = 4 Fri Jan 01 00:00:08 1988
    15 Executing task A Fri Jan 01 00:00:08 1988
    16 Executing task C with x = 4 Fri Jan 01 00:00:09 1988
    17 Executing task A Fri Jan 01 00:00:09 1988
    18 Executing task B with x = 5 Fri Jan 01 00:00:10 1988
    19 Executing task A Fri Jan 01 00:00:10 1988
    20 Executing task A Fri Jan 01 00:00:11 1988
    21 Executing task B with x = 6 Fri Jan 01 00:00:12 1988
    22 Executing task C with x = 6 Fri Jan 01 00:00:12 1988
    23 Executing task A Fri Jan 01 00:00:12 1988
    24 Executing task A Fri Jan 01 00:00:13 1988
    25 Executing task B with x = 7 Fri Jan 01 00:00:14 1988
    26 Executing task A Fri Jan 01 00:00:14 1988
    27 Executing task C with x = 7 Fri Jan 01 00:00:15 1988
    28 Executing task A Fri Jan 01 00:00:15 1988
    29 Executing task B with x = 8 Fri Jan 01 00:00:16 1988
    30 Executing task A Fri Jan 01 00:00:16 1988
    31 Executing task A Fri Jan 01 00:00:17 1988
    32 Executing task B with x = 9 Fri Jan 01 00:00:18 1988
    33 Executing task C with x = 9 Fri Jan 01 00:00:18 1988
    34 Executing task A Fri Jan 01 00:00:18 1988
    35 Executing task A Fri Jan 01 00:00:19 1988
    36 Executing task B with x = 10 Fri Jan 01 00:00:20 1988
     2Executing task A Fri Jan  1 00:00:01 1988
     3Executing task B with x = 1 Fri Jan  1 00:00:02 1988
     4Executing task A Fri Jan  1 00:00:02 1988
     5Executing task C with x = 1 Fri Jan  1 00:00:03 1988
     6Executing task A Fri Jan  1 00:00:03 1988
     7Executing task B with x = 2 Fri Jan  1 00:00:04 1988
     8Executing task A Fri Jan  1 00:00:04 1988
     9Executing task A Fri Jan  1 00:00:05 1988
     10Executing task B with x = 3 Fri Jan  1 00:00:06 1988
     11Executing task C with x = 3 Fri Jan  1 00:00:06 1988
     12Executing task A Fri Jan  1 00:00:06 1988
     13Executing task A Fri Jan  1 00:00:07 1988
     14Executing task B with x = 4 Fri Jan  1 00:00:08 1988
     15Executing task A Fri Jan  1 00:00:08 1988
     16Executing task C with x = 4 Fri Jan  1 00:00:09 1988
     17Executing task A Fri Jan  1 00:00:09 1988
     18Executing task B with x = 5 Fri Jan  1 00:00:10 1988
     19Executing task A Fri Jan  1 00:00:10 1988
     20Executing task A Fri Jan  1 00:00:11 1988
     21Executing task B with x = 6 Fri Jan  1 00:00:12 1988
     22Executing task C with x = 6 Fri Jan  1 00:00:12 1988
     23Executing task A Fri Jan  1 00:00:12 1988
     24Executing task A Fri Jan  1 00:00:13 1988
     25Executing task B with x = 7 Fri Jan  1 00:00:14 1988
     26Executing task A Fri Jan  1 00:00:14 1988
     27Executing task C with x = 7 Fri Jan  1 00:00:15 1988
     28Executing task A Fri Jan  1 00:00:15 1988
     29Executing task B with x = 8 Fri Jan  1 00:00:16 1988
     30Executing task A Fri Jan  1 00:00:16 1988
     31Executing task A Fri Jan  1 00:00:17 1988
     32Executing task B with x = 9 Fri Jan  1 00:00:18 1988
     33Executing task C with x = 9 Fri Jan  1 00:00:18 1988
     34Executing task A Fri Jan  1 00:00:18 1988
     35Executing task A Fri Jan  1 00:00:19 1988
     36Executing task B with x = 10 Fri Jan  1 00:00:20 1988
    3737*** End of POSIX Timers Test ***
  • testsuites/psxtests/ChangeLog

    r80526fa r1fbd283c  
     12001-04-20      Joel Sherrill <joel@OARcorp.com>
     2
     3        * psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn,
     4        psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn,
     5        psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c,
     6        psxtime/psxtime.scn, psxtimer/psxtimer.scn:
     7        Various adjustments so test output matches screens more reliably.
     8
    192001-01-25      Joel Sherrill <joel@OARcorp.com>
    210
  • testsuites/psxtests/psx04/init.c

    r80526fa r1fbd283c  
    516516  puts( "Init: pthread_kill - EINVAL (sig invalid)" );
    517517
    518 /*
    519  *  This is now implemented.  We should delete this but for now
    520  *  we will just comment this out.
    521  *
    522  *   status = pthread_kill( 0, SIGUSR1 );
    523  *   if ( status != -1 )
    524  *     printf( "status = %d\n", status );
    525  *   assert( errno == ENOSYS );
    526  *   puts( "Init: pthread_kill - ENOSYS (signal SA_SIGINFO)" );
    527  */
    528 
    529518  status = pthread_kill( 0, SIGUSR2 );
    530519  if ( status != -1 )
  • testsuites/psxtests/psx04/psx04.scn

    r80526fa r1fbd283c  
    9191Init: pthread_sigmask - EINVAL (timout->nsec invalid to large)
    9292Init: pthread_kill - EINVAL (sig invalid)
    93 Init: pthread_kill - ENOSYS (signal SA_SIGINFO)
    9493Init: pthread_kill - ESRCH (signal SA_SIGINFO)
    9594Init: pthread_kill - SUCCESSFUL (signal = 0)
  • testsuites/psxtests/psx07/init.c

    r80526fa r1fbd283c  
    305305  status = pthread_attr_getstacksize( &attr, &stacksize );
    306306  assert( !status );
    307   printf( "Init: current stack size attribute = %ld\n", (long) stacksize );
     307  if ( stacksize == (STACK_MINIMUM_SIZE * 2) )
     308  printf( "Init: current stack size attribute is OK\n" );
    308309
    309310  /* exercise get and set stack address */
  • testsuites/psxtests/psx07/psx07.scn

    r80526fa r1fbd283c  
    4949Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
    5050Init: pthread_attr_getstacksize - SUCCESSFUL
    51 Init: current stack size attribute = 5120
     51Init: current stack size attribute is OK
    5252Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
    5353Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
  • testsuites/psxtests/psxfile01/psxfile01.scn

    r80526fa r1fbd283c  
    1818....uid = 0
    1919....gid = 0
    20 ....atime = Fri Jan 01 00:00:00 1988
    21 ....mtime = Fri Jan 01 00:00:00 1988
    22 ....ctime = Fri Jan 01 00:00:00 1988
     20....atime = Fri Jan  1 00:00:00 1988
     21....mtime = Fri Jan  1 00:00:00 1988
     22....ctime = Fri Jan  1 00:00:00 1988
    2323
    2424mkdir /dev/tty
     
    105105....uid = 0
    106106....gid = 0
    107 ....atime = Fri Jan 01 00:00:00 1988
    108 ....mtime = Fri Jan 01 00:00:00 1988
    109 ....ctime = Fri Jan 01 00:00:00 1988
     107....atime = Fri Jan  1 00:00:00 1988
     108....mtime = Fri Jan  1 00:00:00 1988
     109....ctime = Fri Jan  1 00:00:00 1988
    110110fopen of /tmp/j
    111111fprintf to /tmp/j
     
    146146........test_console (device 0, 0)
    147147....etc/
    148 ........passwd (file 0 0x0 0x0 0x0)
     148........passwd (file 0)
    149149....tmp/
    150150........my_dir/
    151 ........tom (file 0 0x0 0x0 0x0)
    152 ........john (file 0 0x0 0x0 0x0)
    153 ........joel (file 279487 0x7d58d8 0x7d5388 0x7cfe38)
    154 ........j (file 130 0x77a338 0x0 0x0)
     151........tom (file 0)
     152........john (file 0)
     153........joel (file 279487)
     154........j (file 130)
    155155***************       End of Dump        ***************
    156156truncate /tmp/j to length of 40
     
    172172........test_console (device 0, 0)
    173173....etc/
    174 ........passwd (file 0 0x0 0x0 0x0)
     174........passwd (file 0)
    175175....tmp/
    176176........my_dir/
    177 ........tom (file 0 0x0 0x0 0x0)
    178 ........john (file 0 0x0 0x0 0x0)
    179 ........j (file 40 0x77a338 0x0 0x0)
     177........tom (file 0)
     178........john (file 0)
     179........j (file 40)
    180180***************       End of Dump        ***************
    181181truncate /tmp/j to length of 0
     
    191191........test_console (device 0, 0)
    192192....etc/
    193 ........passwd (file 0 0x0 0x0 0x0)
     193........passwd (file 0)
    194194....tmp/
    195195........my_dir/
    196 ........tom (file 0 0x0 0x0 0x0)
    197 ........john (file 0 0x0 0x0 0x0)
    198 ........j (file 0 0x77a338 0x0 0x0)
     196........tom (file 0)
     197........john (file 0)
     198........j (file 0)
    199199***************       End of Dump        ***************
    200200*** END OF FILE TEST 1 ***
  • testsuites/psxtests/psxmsgq01/psxmsgq01.scn

    r80526fa r1fbd283c  
    7373_______________multi-thread Task 4 Receive Test
    7474Init: mq_receive - Empty queue changes to non-blocking (EAGAIN)
    75 Task_4: Fri Jan 01 00:00:18 1988
     75Task_4: Fri Jan  1 00:00:18 1988
    7676Task_4: Set queue to non-blocking
    7777Task_4: Return queue to blocking
    7878Task_4: pthread_exit
    79 Init: Fri Jan 01 00:00:18 1988
     79Init: Fri Jan  1 00:00:18 1988
    8080_______________multi-thread Task 1 Test
    81 Task_1: Fri Jan 01 00:00:18 1988
     81Task_1: Fri Jan  1 00:00:18 1988
    8282Task_1: mq_send -  to Qblock msg: 12345678 priority 31
    8383Task_1: pthread_exit
    84 Init: Fri Jan 01 00:00:18 1988
     84Init: Fri Jan  1 00:00:18 1988
    8585_______________multi-thread Task 4 Send Test
    8686Init: Verify Queues are empty
     
    8888Init: Verify Queues are full
    8989Init: mq_send - Full queue changes to non-blocking (EAGAIN)
    90 Task_4: Fri Jan 01 00:00:18 1988
     90Task_4: Fri Jan  1 00:00:18 1988
    9191Task_4: Set queue to non-blocking
    9292Task_4: Return queue to blocking
     
    9999Init: Verify Queues are full
    100100Init: mq_send -  to Qblock msg: Last priority 32
    101 Task_2: Fri Jan 01 00:00:18 1988
     101Task_2: Fri Jan  1 00:00:18 1988
    102102Task_2: Verify Queues are full
    103103Task_2: pthread_exit
    104 Init: Fri Jan 01 00:00:18 1988
     104Init: Fri Jan  1 00:00:18 1988
    105105Init: Verify Queues are full
    106106Init: Empty all Queues
     
    110110Init: Verify Queues are full
    111111Init: mq_send - Block while thread deletes queue (EBADF)
    112 Task_3: Fri Jan 01 00:00:18 1988
     112Task_3: Fri Jan  1 00:00:18 1988
    113113_______________Unlink and Close All Files
    114114Task_3: pthread_exit
  • testsuites/psxtests/psxreaddir/test.c

    r80526fa r1fbd283c  
    5555  struct dirent *d;
    5656
    57   printf( "    %-20s %8s %8s %8s %4s\n",
    58      "     name", "inode", " offset", "reclen", " type" );
     57  printf( "%-20s %8s %8s %8s %4s\n",
     58     "name", "    inode", " offset", "reclen", " type" );
    5959  d = readdir(directory);
    6060 
    6161  while (d) {
    62     printf( "    %-20s %8d %8d %6d   0x%04x\n",
     62    printf( "%-20s %8d %8d %6d   0x%04x\n",
    6363       d->d_name, (int)d->d_ino, (int)d->d_off, d->d_reclen, d->d_type );
    6464    d = readdir(directory);
     
    264264  status = chdir( "/many" );
    265265  for (i = 0; i<44; i++) {
    266     printf("  Create %s\n", many_files[i]);
     266    printf("Create %s\n", many_files[i]);
    267267    fd = open (many_files[i], O_CREAT, S_IRWXU);
    268268    close (fd);
  • testsuites/psxtests/psxstat/psxstat.scn

    r80526fa r1fbd283c  
    99Making directory /./././my_mount_point/links
    1010Making directory ///my_mount_point/dir1/dir1/../../dir1/../symlinks/////
    11 Making file /////my_mount_point/dir1///file1\//
     11Making file /////my_mount_point/dir1/\//file1\\//
    1212Making file /my_mount_point/dir1/file2
    1313Making file /my_mount_point/dir1/file3
     
    4444Doing the stat() on all the good absolute paths
    4545stat( /my_mount_point/dev ) returned
    46 st_dev     (0x0:0x0)
     46...st_dev     (0x0:0x0)
    4747...st_ino     2
    4848...st_mode    40700
     
    5555...st_mtime   Sat Dec 31 09:00:00 1988
    5656...st_ctime   Sat Dec 31 09:00:00 1988
    57 stat( ////my_mount_point/dir1///file1\// ) returned
    58 st_dev     (0x0:0x0)
     57stat( ////my_mount_point/dir1/\//file1\\// ) returned
     58...st_dev     (0x0:0x0)
    5959...st_ino     b
    6060...st_mode    100000
     
    6767...st_mtime   Sat Dec 31 09:00:00 1988
    6868...st_ctime   Sat Dec 31 09:00:10 1988
    69 stat( /my_mount_point/dir1/\/file2 ) returned
    70 st_dev     (0x0:0x0)
     69stat( /my_mount_point/dir1/\\/file2 ) returned
     70...st_dev     (0x0:0x0)
    7171...st_ino     c
    7272...st_mode    100000
     
    7979...st_mtime   Sat Dec 31 09:00:00 1988
    8080...st_ctime   Sat Dec 31 09:00:10 1988
    81 stat( /my_mount_point/dir1/file3/////\ ) returned
    82 st_dev     (0x0:0x0)
     81stat( /my_mount_point/dir1/file3/////\\\ ) returned
     82...st_dev     (0x0:0x0)
    8383...st_ino     d
    8484...st_mode    100000
     
    9292...st_ctime   Sat Dec 31 09:00:10 1988
    9393stat( /my_mount_point/dir1/file4 ) returned
    94 st_dev     (0x0:0x0)
     94...st_dev     (0x0:0x0)
    9595...st_ino     e
    9696...st_mode    100000
     
    104104...st_ctime   Sat Dec 31 09:00:10 1988
    105105stat( /my_mount_point/dir1/dir1/file1 ) returned
    106 st_dev     (0x0:0x0)
     106...st_dev     (0x0:0x0)
    107107...st_ino     f
    108108...st_mode    100000
     
    116116...st_ctime   Sat Dec 31 09:00:10 1988
    117117stat( /my_mount_point/dir1/dir1/ file1 ) returned
    118 st_dev     (0x0:0x0)
     118...st_dev     (0x0:0x0)
    119119...st_ino     10
    120120...st_mode    100000
     
    128128...st_ctime   Sat Dec 31 09:00:10 1988
    129129stat( /my_mount_point/dir1 ) returned
    130 st_dev     (0x0:0x0)
     130...st_dev     (0x0:0x0)
    131131...st_ino     3
    132132...st_mode    40700
     
    139139...st_mtime   Sat Dec 31 09:00:00 1988
    140140...st_ctime   Sat Dec 31 09:00:05 1988
    141 stat( /my_mount_point/dir2////// ) returned
    142 st_dev     (0x0:0x0)
     141stat( /my_mount_point/dir2//////\ ) returned
     142...st_dev     (0x0:0x0)
    143143...st_ino     4
    144144...st_mode    40700
     
    152152...st_ctime   Sat Dec 31 09:00:05 1988
    153153stat( /my_mount_point/dir3 ) returned
    154 st_dev     (0x0:0x0)
     154...st_dev     (0x0:0x0)
    155155...st_ino     5
    156156...st_mode    40700
     
    164164...st_ctime   Sat Dec 31 09:00:05 1988
    165165stat( /my_mount_point/dir4 ) returned
    166 st_dev     (0x0:0x0)
     166...st_dev     (0x0:0x0)
    167167...st_ino     6
    168168...st_mode    40700
     
    176176...st_ctime   Sat Dec 31 09:00:05 1988
    177177stat( /my_mount_point/dir1/dir1 ) returned
    178 st_dev     (0x0:0x0)
     178...st_dev     (0x0:0x0)
    179179...st_ino     7
    180180...st_mode    40700
     
    187187...st_mtime   Sat Dec 31 09:00:00 1988
    188188...st_ctime   Sat Dec 31 09:00:05 1988
    189 stat( /my_mount_point/dir1/ dir1///\ ) returned
    190 st_dev     (0x0:0x0)
     189stat( /my_mount_point/dir1/ dir1///\\ ) returned
     190...st_dev     (0x0:0x0)
    191191...st_ino     8
    192192...st_mode    40700
     
    199199...st_mtime   Sat Dec 31 09:00:00 1988
    200200...st_ctime   Sat Dec 31 09:00:05 1988
    201 stat( /my_mount_point///////links///// ) returned
    202 st_dev     (0x0:0x0)
     201stat( /my_mount_point/\/\/\/\/\/\/links\/\/\/\/\/\ ) returned
     202...st_dev     (0x0:0x0)
    203203...st_ino     9
    204204...st_mode    40700
     
    213213Doing the stat() on all the good relative paths
    214214stat( dev ) returned
    215 st_dev     (0x0:0x0)
     215...st_dev     (0x0:0x0)
    216216...st_ino     2
    217217...st_mode    40700
     
    224224...st_mtime   Sat Dec 31 09:00:00 1988
    225225...st_ctime   Sat Dec 31 09:00:00 1988
    226 stat( dir1///file1\// ) returned
    227 st_dev     (0x0:0x0)
     226stat( dir1/\//file1\\// ) returned
     227...st_dev     (0x0:0x0)
    228228...st_ino     b
    229229...st_mode    100000
     
    236236...st_mtime   Sat Dec 31 09:00:00 1988
    237237...st_ctime   Sat Dec 31 09:00:10 1988
    238 stat( dir1/\/file2 ) returned
    239 st_dev     (0x0:0x0)
     238stat( dir1/\\/file2 ) returned
     239...st_dev     (0x0:0x0)
    240240...st_ino     c
    241241...st_mode    100000
     
    248248...st_mtime   Sat Dec 31 09:00:00 1988
    249249...st_ctime   Sat Dec 31 09:00:10 1988
    250 stat( dir1/file3/////\ ) returned
    251 st_dev     (0x0:0x0)
     250stat( dir1/file3/////\\\ ) returned
     251...st_dev     (0x0:0x0)
    252252...st_ino     d
    253253...st_mode    100000
     
    261261...st_ctime   Sat Dec 31 09:00:10 1988
    262262stat( dir1/file4 ) returned
    263 st_dev     (0x0:0x0)
     263...st_dev     (0x0:0x0)
    264264...st_ino     e
    265265...st_mode    100000
     
    273273...st_ctime   Sat Dec 31 09:00:10 1988
    274274stat( dir1/dir1/file1 ) returned
    275 st_dev     (0x0:0x0)
     275...st_dev     (0x0:0x0)
    276276...st_ino     f
    277277...st_mode    100000
     
    285285...st_ctime   Sat Dec 31 09:00:10 1988
    286286stat( dir1/dir1/ file1 ) returned
    287 st_dev     (0x0:0x0)
     287...st_dev     (0x0:0x0)
    288288...st_ino     10
    289289...st_mode    100000
     
    297297...st_ctime   Sat Dec 31 09:00:10 1988
    298298stat( dir1 ) returned
    299 st_dev     (0x0:0x0)
     299...st_dev     (0x0:0x0)
    300300...st_ino     3
    301301...st_mode    40700
     
    308308...st_mtime   Sat Dec 31 09:00:00 1988
    309309...st_ctime   Sat Dec 31 09:00:05 1988
    310 stat( dir2////// ) returned
    311 st_dev     (0x0:0x0)
     310stat( dir2//////\ ) returned
     311...st_dev     (0x0:0x0)
    312312...st_ino     4
    313313...st_mode    40700
     
    321321...st_ctime   Sat Dec 31 09:00:05 1988
    322322stat( dir3 ) returned
    323 st_dev     (0x0:0x0)
     323...st_dev     (0x0:0x0)
    324324...st_ino     5
    325325...st_mode    40700
     
    333333...st_ctime   Sat Dec 31 09:00:05 1988
    334334stat( dir4 ) returned
    335 st_dev     (0x0:0x0)
     335...st_dev     (0x0:0x0)
    336336...st_ino     6
    337337...st_mode    40700
     
    345345...st_ctime   Sat Dec 31 09:00:05 1988
    346346stat( dir1/dir1 ) returned
    347 st_dev     (0x0:0x0)
     347...st_dev     (0x0:0x0)
    348348...st_ino     7
    349349...st_mode    40700
     
    356356...st_mtime   Sat Dec 31 09:00:00 1988
    357357...st_ctime   Sat Dec 31 09:00:05 1988
    358 stat( dir1/ dir1///\ ) returned
    359 st_dev     (0x0:0x0)
     358stat( dir1/ dir1///\\ ) returned
     359...st_dev     (0x0:0x0)
    360360...st_ino     8
    361361...st_mode    40700
     
    369369...st_ctime   Sat Dec 31 09:00:05 1988
    370370stat( main.c ) returned
    371 st_dev     (0x0:0x0)
     371...st_dev     (0x0:0x0)
    372372...st_ino     11
    373373...st_mode    100000
     
    383383stat relative paths that are now bad
    384384stat( dev ) returned : No such file or directory
    385 stat( dir1///file1\// ) returned : No such file or directory
    386 stat( dir1/\/file2 ) returned : No such file or directory
    387 stat( dir1/file3/////\ ) returned : No such file or directory
     385stat( dir1/\//file1\\// ) returned : No such file or directory
     386stat( dir1/\\/file2 ) returned : No such file or directory
     387stat( dir1/file3/////\\\ ) returned : No such file or directory
    388388stat( dir1/file4 ) returned : No such file or directory
    389389stat( dir1/dir1/file1 ) returned : No such file or directory
    390390stat( dir1/dir1/ file1 ) returned : No such file or directory
    391391stat( dir1 ) returned : No such file or directory
    392 stat( dir2////// ) returned : No such file or directory
     392stat( dir2//////\ ) returned : No such file or directory
    393393stat( dir3 ) returned : No such file or directory
    394394stat( dir4 ) returned : No such file or directory
    395395stat( dir1/dir1 ) returned : No such file or directory
    396 stat( dir1/ dir1///\ ) returned : No such file or directory
     396stat( dir1/ dir1///\\ ) returned : No such file or directory
    397397stat( main.c ) returned : No such file or directory
    398398chdir to ../links
    399399Doing the stat() on good links
    400400stat( dir1/dir1/../../links/dir1 ) returned
    401 st_dev     (0x0:0x0)
     401...st_dev     (0x0:0x0)
    402402...st_ino     3
    403403...st_mode    40700
     
    411411...st_ctime   Sat Dec 31 09:00:05 1988
    412412stat( links/dir2 ) returned
    413 st_dev     (0x0:0x0)
     413...st_dev     (0x0:0x0)
    414414...st_ino     4
    415415...st_mode    40700
     
    423423...st_ctime   Sat Dec 31 09:00:05 1988
    424424stat( links/dir3 ) returned
    425 st_dev     (0x0:0x0)
     425...st_dev     (0x0:0x0)
    426426...st_ino     5
    427427...st_mode    40700
     
    435435...st_ctime   Sat Dec 31 09:00:05 1988
    436436stat( links/dir4 ) returned
    437 st_dev     (0x0:0x0)
     437...st_dev     (0x0:0x0)
    438438...st_ino     6
    439439...st_mode    40700
     
    447447...st_ctime   Sat Dec 31 09:00:05 1988
    448448stat( links/dir1_dir1 ) returned
    449 st_dev     (0x0:0x0)
     449...st_dev     (0x0:0x0)
    450450...st_ino     7
    451451...st_mode    40700
     
    459459...st_ctime   Sat Dec 31 09:00:05 1988
    460460stat( links/dir1_ dir1 ) returned
    461 st_dev     (0x0:0x0)
     461...st_dev     (0x0:0x0)
    462462...st_ino     8
    463463...st_mode    40700
     
    471471...st_ctime   Sat Dec 31 09:00:05 1988
    472472stat( links/../links/../links/links ) returned
    473 st_dev     (0x0:0x0)
     473...st_dev     (0x0:0x0)
    474474...st_ino     9
    475475...st_mode    40700
     
    483483...st_ctime   Sat Dec 31 09:00:05 1988
    484484stat( links/dir1_file1 ) returned
    485 st_dev     (0x0:0x0)
     485...st_dev     (0x0:0x0)
    486486...st_ino     b
    487487...st_mode    100000
     
    495495...st_ctime   Sat Dec 31 09:00:10 1988
    496496stat( links/dir1_file2 ) returned
    497 st_dev     (0x0:0x0)
     497...st_dev     (0x0:0x0)
    498498...st_ino     c
    499499...st_mode    100000
     
    507507...st_ctime   Sat Dec 31 09:00:10 1988
    508508stat( links/dir1_file3 ) returned
    509 st_dev     (0x0:0x0)
     509...st_dev     (0x0:0x0)
    510510...st_ino     d
    511511...st_mode    100000
     
    519519...st_ctime   Sat Dec 31 09:00:10 1988
    520520stat( links/dir1_file4 ) returned
    521 st_dev     (0x0:0x0)
     521...st_dev     (0x0:0x0)
    522522...st_ino     e
    523523...st_mode    100000
     
    531531...st_ctime   Sat Dec 31 09:00:10 1988
    532532stat( links/dir1_dir1_f1 ) returned
    533 st_dev     (0x0:0x0)
     533...st_dev     (0x0:0x0)
    534534...st_ino     f
    535535...st_mode    100000
     
    543543...st_ctime   Sat Dec 31 09:00:10 1988
    544544stat( links/dir1_dir1 f1 ) returned
    545 st_dev     (0x0:0x0)
     545...st_dev     (0x0:0x0)
    546546...st_ino     10
    547547...st_mode    100000
     
    555555...st_ctime   Sat Dec 31 09:00:10 1988
    556556stat( links/links/links/links_dir1 ) returned
    557 st_dev     (0x0:0x0)
     557...st_dev     (0x0:0x0)
    558558...st_ino     3
    559559...st_mode    40700
     
    567567...st_ctime   Sat Dec 31 09:00:05 1988
    568568stat( links//links_dir2 ) returned
    569 st_dev     (0x0:0x0)
     569...st_dev     (0x0:0x0)
    570570...st_ino     4
    571571...st_mode    40700
     
    579579...st_ctime   Sat Dec 31 09:00:05 1988
    580580stat( links//links_dir3 ) returned
    581 st_dev     (0x0:0x0)
     581...st_dev     (0x0:0x0)
    582582...st_ino     5
    583583...st_mode    40700
     
    591591...st_ctime   Sat Dec 31 09:00:05 1988
    592592stat( links//links_dir4 ) returned
    593 st_dev     (0x0:0x0)
     593...st_dev     (0x0:0x0)
    594594...st_ino     6
    595595...st_mode    40700
     
    603603...st_ctime   Sat Dec 31 09:00:05 1988
    604604stat( links//links_dir1_d1 ) returned
    605 st_dev     (0x0:0x0)
     605...st_dev     (0x0:0x0)
    606606...st_ino     7
    607607...st_mode    40700
     
    615615...st_ctime   Sat Dec 31 09:00:05 1988
    616616stat( links//links_dir1 d1 ) returned
    617 st_dev     (0x0:0x0)
     617...st_dev     (0x0:0x0)
    618618...st_ino     8
    619619...st_mode    40700
     
    627627...st_ctime   Sat Dec 31 09:00:05 1988
    628628stat( links//links_links ) returned
    629 st_dev     (0x0:0x0)
     629...st_dev     (0x0:0x0)
    630630...st_ino     9
    631631...st_mode    40700
     
    639639...st_ctime   Sat Dec 31 09:00:05 1988
    640640stat( links///links_d1_file1 ) returned
    641 st_dev     (0x0:0x0)
     641...st_dev     (0x0:0x0)
    642642...st_ino     b
    643643...st_mode    100000
     
    651651...st_ctime   Sat Dec 31 09:00:10 1988
    652652stat( links///links_d1_file2 ) returned
    653 st_dev     (0x0:0x0)
     653...st_dev     (0x0:0x0)
    654654...st_ino     c
    655655...st_mode    100000
     
    663663...st_ctime   Sat Dec 31 09:00:10 1988
    664664stat( links///links_d1_file3 ) returned
    665 st_dev     (0x0:0x0)
     665...st_dev     (0x0:0x0)
    666666...st_ino     d
    667667...st_mode    100000
     
    675675...st_ctime   Sat Dec 31 09:00:10 1988
    676676stat( links///links_d1_file4 ) returned
    677 st_dev     (0x0:0x0)
     677...st_dev     (0x0:0x0)
    678678...st_ino     e
    679679...st_mode    100000
     
    687687...st_ctime   Sat Dec 31 09:00:10 1988
    688688stat( links///links_d1_d1_f1 ) returned
    689 st_dev     (0x0:0x0)
     689...st_dev     (0x0:0x0)
    690690...st_ino     f
    691691...st_mode    100000
     
    699699...st_ctime   Sat Dec 31 09:00:10 1988
    700700stat( links///links_r1_d1 f1 ) returned
    701 st_dev     (0x0:0x0)
     701...st_dev     (0x0:0x0)
    702702...st_ino     10
    703703...st_mode    100000
     
    732732Verify with readlink
    733733stat( /my_mount_point/symlinks/a_file_symlink ) returned
    734 st_dev     (0x0:0x0)
     734...st_dev     (0x0:0x0)
    735735...st_ino     b
    736736...st_mode    100000
     
    744744...st_ctime   Sat Dec 31 09:00:10 1988
    745745stat( /my_mount_point/symlinks/a_dir_symlink ) returned
    746 st_dev     (0x0:0x0)
     746...st_dev     (0x0:0x0)
    747747...st_ino     3
    748748...st_mode    40700
     
    756756...st_ctime   Sat Dec 31 09:00:05 1988
    757757stat( /my_mount_point/symlinks/a_link_symlink ) returned
    758 st_dev     (0x0:0x0)
     758...st_dev     (0x0:0x0)
    759759...st_ino     3
    760760...st_mode    40700
     
    769769stat( ../symlinks/no_file ) returned : No such file or directory
    770770stat( /my_mount_point/symlinks/a_dir_symlink/a_file_symlink ) returned
    771 st_dev     (0x0:0x0)
     771...st_dev     (0x0:0x0)
    772772...st_ino     3
    773773...st_mode    40700
     
    826826stat( /./././my_mount_point/dir1/ dir1 ) returned : No such file or directory
    827827stat( links/dir1_ dir1 ) returned
    828 st_dev     (0x0:0x0)
     828...st_dev     (0x0:0x0)
    829829...st_ino     8
    830830...st_mode    40700
     
    838838...st_ctime   Sat Dec 31 09:00:20 1988
    839839stat( links//links_dir1 d1 ) returned
    840 st_dev     (0x0:0x0)
     840...st_dev     (0x0:0x0)
    841841...st_ino     8
    842842...st_mode    40700
     
    862862rmdir /dir1/my_mount_point should fail with EBUSY
    863863Unmount /my_mount_point/dir1/my_mount_point
    864 chmod of /////my_mount_point/dir1///file1\// to group and other execute
    865 Open /////my_mount_point/dir1///file1\// for write should fail with EACCES
     864chmod of /////my_mount_point/dir1/\//file1\\// to group and other execute
     865Open /////my_mount_point/dir1/\//file1\\// for write should fail with EACCES
    866866chmod of /my_mount_point/dir4 to User Execute and Read
    867867Mkdir of /my_mount_point/dir4/NewFile should fail with EACCES
     
    877877pass fstat a null pointer should fail with EFAULT
    878878chdir to /my_mount_point
    879 Change group of /////my_mount_point/dir1///file1\//
    880 stat( /////my_mount_point/dir1///file1\// ) returned
    881 st_dev     (0x0:0x0)
     879Change group of /////my_mount_point/dir1/\//file1\\//
     880stat( /////my_mount_point/dir1/\//file1\\// ) returned
     881...st_dev     (0x0:0x0)
    882882...st_ino     b
    883883...st_mode    100011
     
    890890...st_mtime   Sat Dec 31 09:00:00 1988
    891891...st_ctime   Sat Dec 31 09:00:25 1988
    892 Change owner of /////my_mount_point/dir1///file1\//
    893 stat( /////my_mount_point/dir1///file1\// ) returned
    894 st_dev     (0x0:0x0)
     892Change owner of /////my_mount_point/dir1/\//file1\\//
     893stat( /////my_mount_point/dir1/\//file1\\// ) returned
     894...st_dev     (0x0:0x0)
    895895...st_ino     b
    896896...st_mode    100011
     
    905905Change group of /my_mount_point/dir1/file2
    906906stat( /my_mount_point/dir1/file2 ) returned
    907 st_dev     (0x0:0x0)
     907...st_dev     (0x0:0x0)
    908908...st_ino     c
    909909...st_mode    100000
     
    918918Change owner of /my_mount_point/dir1/file2
    919919stat( /my_mount_point/dir1/file2 ) returned
    920 st_dev     (0x0:0x0)
     920...st_dev     (0x0:0x0)
    921921...st_ino     c
    922922...st_mode    100000
     
    931931Change group of /my_mount_point/dir1/file3
    932932stat( /my_mount_point/dir1/file3 ) returned
    933 st_dev     (0x0:0x0)
     933...st_dev     (0x0:0x0)
    934934...st_ino     d
    935935...st_mode    100000
     
    944944Change owner of /my_mount_point/dir1/file3
    945945stat( /my_mount_point/dir1/file3 ) returned
    946 st_dev     (0x0:0x0)
     946...st_dev     (0x0:0x0)
    947947...st_ino     d
    948948...st_mode    100000
     
    957957Change group of /my_mount_point/dir1/file4
    958958stat( /my_mount_point/dir1/file4 ) returned
    959 st_dev     (0x0:0x0)
     959...st_dev     (0x0:0x0)
    960960...st_ino     e
    961961...st_mode    100000
     
    970970Change owner of /my_mount_point/dir1/file4
    971971stat( /my_mount_point/dir1/file4 ) returned
    972 st_dev     (0x0:0x0)
     972...st_dev     (0x0:0x0)
    973973...st_ino     e
    974974...st_mode    100000
     
    983983Change group of /my_mount_point/dir1/dir1/file1
    984984stat( /my_mount_point/dir1/dir1/file1 ) returned
    985 st_dev     (0x0:0x0)
     985...st_dev     (0x0:0x0)
    986986...st_ino     f
    987987...st_mode    100000
     
    996996Change owner of /my_mount_point/dir1/dir1/file1
    997997stat( /my_mount_point/dir1/dir1/file1 ) returned
    998 st_dev     (0x0:0x0)
     998...st_dev     (0x0:0x0)
    999999...st_ino     f
    10001000...st_mode    100000
     
    10091009Change group of ../../..//my_mount_point/dir1/./././dir1/ file1
    10101010stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
    1011 st_dev     (0x0:0x0)
     1011...st_dev     (0x0:0x0)
    10121012...st_ino     10
    10131013...st_mode    100000
     
    10221022Change owner of ../../..//my_mount_point/dir1/./././dir1/ file1
    10231023stat( ../../..//my_mount_point/dir1/./././dir1/ file1 ) returned
    1024 st_dev     (0x0:0x0)
     1024...st_dev     (0x0:0x0)
    10251025...st_ino     10
    10261026...st_mode    100000
     
    10351035Change group of main.c
    10361036stat( main.c ) returned
    1037 st_dev     (0x0:0x0)
     1037...st_dev     (0x0:0x0)
    10381038...st_ino     11
    10391039...st_mode    100000
     
    10481048Change owner of main.c
    10491049stat( main.c ) returned
    1050 st_dev     (0x0:0x0)
     1050...st_dev     (0x0:0x0)
    10511051...st_ino     11
    10521052...st_mode    100000
     
    10611061Change group of dir1/dir1/../../links/dir1
    10621062stat( dir1/dir1/../../links/dir1 ) returned
    1063 st_dev     (0x0:0x0)
     1063...st_dev     (0x0:0x0)
    10641064...st_ino     3
    10651065...st_mode    40700
     
    10761076Change group of links/dir2
    10771077stat( links/dir2 ) returned
    1078 st_dev     (0x0:0x0)
     1078...st_dev     (0x0:0x0)
    10791079...st_ino     4
    10801080...st_mode    40700
     
    10891089Change owner of links/dir2
    10901090stat( links/dir2 ) returned
    1091 st_dev     (0x0:0x0)
     1091...st_dev     (0x0:0x0)
    10921092...st_ino     4
    10931093...st_mode    40700
     
    11021102Change group of links/dir3
    11031103stat( links/dir3 ) returned
    1104 st_dev     (0x0:0x0)
     1104...st_dev     (0x0:0x0)
    11051105...st_ino     5
    11061106...st_mode    40700
     
    11151115Change owner of links/dir3
    11161116stat( links/dir3 ) returned
    1117 st_dev     (0x0:0x0)
     1117...st_dev     (0x0:0x0)
    11181118...st_ino     5
    11191119...st_mode    40700
     
    11281128Change group of links/dir4
    11291129stat( links/dir4 ) returned
    1130 st_dev     (0x0:0x0)
     1130...st_dev     (0x0:0x0)
    11311131...st_ino     6
    11321132...st_mode    40500
     
    11411141Change owner of links/dir4
    11421142stat( links/dir4 ) returned
    1143 st_dev     (0x0:0x0)
     1143...st_dev     (0x0:0x0)
    11441144...st_ino     6
    11451145...st_mode    40500
     
    11541154Change group of links/dir1_dir1
    11551155stat( links/dir1_dir1 ) returned
    1156 st_dev     (0x0:0x0)
     1156...st_dev     (0x0:0x0)
    11571157...st_ino     7
    11581158...st_mode    40700
     
    11671167Change owner of links/dir1_dir1
    11681168stat( links/dir1_dir1 ) returned
    1169 st_dev     (0x0:0x0)
     1169...st_dev     (0x0:0x0)
    11701170...st_ino     7
    11711171...st_mode    40700
     
    11841184Change group of links/../links/../links/links
    11851185stat( links/../links/../links/links ) returned
    1186 st_dev     (0x0:0x0)
     1186...st_dev     (0x0:0x0)
    11871187...st_ino     9
    11881188...st_mode    40700
  • testsuites/psxtests/psxstat/test.c

    r80526fa r1fbd283c  
    195195
    196196
    197     printf("\n\tst_dev     (0x%x:0x%x)\n", major1, minor1 );
     197    printf("\n...st_dev     (0x%x:0x%x)\n", major1, minor1 );
    198198    printf(  "...st_ino     %x\n", (int) statbuf.st_ino );
    199199    printf(  "...st_mode    %o\n", statbuf.st_mode );
     
    688688  assert( errno == EACCES );
    689689
    690   printf(" Making too many hard links.\n" );
     690  printf("Making too many hard links.\n" );
    691691  make_too_many_links( );
    692692
  • testsuites/psxtests/psxtime/psxtime.scn

    r80526fa r1fbd283c  
    44rtems_clock_set          12:45:00   01/01/1988
    55rtems_clock_get          12:45:00   01/01/1988
    6 gettimeofday: Fri Jan 01 12:45:00 1988
    7 time:         Fri Jan 01 12:45:00 1988
    8 localtime:    Fri Jan 01 12:45:00 1988
    9 gmtime:       Fri Jan 01 12:45:00 1988
     6gettimeofday: Fri Jan   1 12:45:00 1988
     7time:         Fri Jan   1 12:45:00 1988
     8localtime:    Fri Jan   1 12:45:00 1988
     9gmtime:       Fri Jan   1 12:45:00 1988
    1010
    1111rtems_clock_get          12:45:05   01/01/1988
    12 gettimeofday: Fri Jan 01 12:45:05 1988
    13 time:         Fri Jan 01 12:45:05 1988
    14 localtime:    Fri Jan 01 12:45:05 1988
    15 gmtime:       Fri Jan 01 12:45:05 1988
     12gettimeofday: Fri Jan   1 12:45:05 1988
     13time:         Fri Jan   1 12:45:05 1988
     14localtime:    Fri Jan   1 12:45:05 1988
     15gmtime:       Fri Jan   1 12:45:05 1988
    1616
    1717rtems_clock_get          12:45:10   01/01/1988
    18 gettimeofday: Fri Jan 01 12:45:10 1988
    19 time:         Fri Jan 01 12:45:10 1988
    20 localtime:    Fri Jan 01 12:45:10 1988
    21 gmtime:       Fri Jan 01 12:45:10 1988
     18gettimeofday: Fri Jan   1 12:45:10 1988
     19time:         Fri Jan   1 12:45:10 1988
     20localtime:    Fri Jan   1 12:45:10 1988
     21gmtime:       Fri Jan   1 12:45:10 1988
    2222
    2323rtems_clock_get          12:45:15   01/01/1988
    24 gettimeofday: Fri Jan 01 12:45:15 1988
    25 time:         Fri Jan 01 12:45:15 1988
    26 localtime:    Fri Jan 01 12:45:15 1988
    27 gmtime:       Fri Jan 01 12:45:15 1988
     24gettimeofday: Fri Jan   1 12:45:15 1988
     25time:         Fri Jan   1 12:45:15 1988
     26localtime:    Fri Jan   1 12:45:15 1988
     27gmtime:       Fri Jan   1 12:45:15 1988
    2828
    2929rtems_clock_get          12:45:20   01/01/1988
    30 gettimeofday: Fri Jan 01 12:45:20 1988
    31 time:         Fri Jan 01 12:45:20 1988
    32 localtime:    Fri Jan 01 12:45:20 1988
    33 gmtime:       Fri Jan 01 12:45:20 1988
     30gettimeofday: Fri Jan   1 12:45:20 1988
     31time:         Fri Jan   1 12:45:20 1988
     32localtime:    Fri Jan   1 12:45:20 1988
     33gmtime:       Fri Jan   1 12:45:20 1988
    3434
    3535rtems_clock_get          12:45:25   01/01/1988
    36 gettimeofday: Fri Jan 01 12:45:25 1988
    37 time:         Fri Jan 01 12:45:25 1988
    38 localtime:    Fri Jan 01 12:45:25 1988
    39 gmtime:       Fri Jan 01 12:45:25 1988
     36gettimeofday: Fri Jan   1 12:45:25 1988
     37time:         Fri Jan   1 12:45:25 1988
     38localtime:    Fri Jan   1 12:45:25 1988
     39gmtime:       Fri Jan   1 12:45:25 1988
    4040
    4141rtems_clock_set          09:00:00   12/31/1988
     
    152152rtems_clock_set          00:15:59   01/01/2000
    153153rtems_clock_get          00:15:59   01/01/2000
    154 gettimeofday: Sat Jan 01 00:15:59 2000
    155 time:         Sat Jan 01 00:15:59 2000
    156 localtime:    Sat Jan 01 00:15:59 2000
    157 gmtime:       Sat Jan 01 00:15:59 2000
     154gettimeofday: Sat Jan   1 00:15:59 2000
     155time:         Sat Jan   1 00:15:59 2000
     156localtime:    Sat Jan   1 00:15:59 2000
     157gmtime:       Sat Jan   1 00:15:59 2000
    158158
    159159rtems_clock_get          00:16:04   01/01/2000
    160 gettimeofday: Sat Jan 01 00:16:04 2000
    161 time:         Sat Jan 01 00:16:04 2000
    162 localtime:    Sat Jan 01 00:16:04 2000
    163 gmtime:       Sat Jan 01 00:16:04 2000
     160gettimeofday: Sat Jan   1 00:16:04 2000
     161time:         Sat Jan   1 00:16:04 2000
     162localtime:    Sat Jan   1 00:16:04 2000
     163gmtime:       Sat Jan   1 00:16:04 2000
    164164
    165165rtems_clock_get          00:16:09   01/01/2000
    166 gettimeofday: Sat Jan 01 00:16:09 2000
    167 time:         Sat Jan 01 00:16:09 2000
    168 localtime:    Sat Jan 01 00:16:09 2000
    169 gmtime:       Sat Jan 01 00:16:09 2000
     166gettimeofday: Sat Jan   1 00:16:09 2000
     167time:         Sat Jan   1 00:16:09 2000
     168localtime:    Sat Jan   1 00:16:09 2000
     169gmtime:       Sat Jan   1 00:16:09 2000
    170170
    171171rtems_clock_get          00:16:14   01/01/2000
    172 gettimeofday: Sat Jan 01 00:16:14 2000
    173 time:         Sat Jan 01 00:16:14 2000
    174 localtime:    Sat Jan 01 00:16:14 2000
    175 gmtime:       Sat Jan 01 00:16:14 2000
     172gettimeofday: Sat Jan   1 00:16:14 2000
     173time:         Sat Jan   1 00:16:14 2000
     174localtime:    Sat Jan   1 00:16:14 2000
     175gmtime:       Sat Jan   1 00:16:14 2000
    176176
    177177rtems_clock_get          00:16:19   01/01/2000
    178 gettimeofday: Sat Jan 01 00:16:19 2000
    179 time:         Sat Jan 01 00:16:19 2000
    180 localtime:    Sat Jan 01 00:16:19 2000
    181 gmtime:       Sat Jan 01 00:16:19 2000
     178gettimeofday: Sat Jan   1 00:16:19 2000
     179time:         Sat Jan   1 00:16:19 2000
     180localtime:    Sat Jan   1 00:16:19 2000
     181gmtime:       Sat Jan   1 00:16:19 2000
    182182
    183183rtems_clock_get          00:16:24   01/01/2000
    184 gettimeofday: Sat Jan 01 00:16:24 2000
    185 time:         Sat Jan 01 00:16:24 2000
    186 localtime:    Sat Jan 01 00:16:24 2000
    187 gmtime:       Sat Jan 01 00:16:24 2000
     184gettimeofday: Sat Jan   1 00:16:24 2000
     185time:         Sat Jan   1 00:16:24 2000
     186localtime:    Sat Jan   1 00:16:24 2000
     187gmtime:       Sat Jan   1 00:16:24 2000
    188188
    189189rtems_clock_set          05:10:59   02/02/2005
    190190rtems_clock_get          05:10:59   02/02/2005
    191 gettimeofday: Wed Feb 02 05:10:59 2005
    192 time:         Wed Feb 02 05:10:59 2005
    193 localtime:    Wed Feb 02 05:10:59 2005
    194 gmtime:       Wed Feb 02 05:10:59 2005
     191gettimeofday: Wed Feb  2 05:10:59 2005
     192time:         Wed Feb  2 05:10:59 2005
     193localtime:    Wed Feb  2 05:10:59 2005
     194gmtime:       Wed Feb  2 05:10:59 2005
    195195
    196196rtems_clock_get          05:11:04   02/02/2005
    197 gettimeofday: Wed Feb 02 05:11:04 2005
    198 time:         Wed Feb 02 05:11:04 2005
    199 localtime:    Wed Feb 02 05:11:04 2005
    200 gmtime:       Wed Feb 02 05:11:04 2005
     197gettimeofday: Wed Feb  2 05:11:04 2005
     198time:         Wed Feb  2 05:11:04 2005
     199localtime:    Wed Feb  2 05:11:04 2005
     200gmtime:       Wed Feb  2 05:11:04 2005
    201201
    202202rtems_clock_get          05:11:09   02/02/2005
    203 gettimeofday: Wed Feb 02 05:11:09 2005
    204 time:         Wed Feb 02 05:11:09 2005
    205 localtime:    Wed Feb 02 05:11:09 2005
    206 gmtime:       Wed Feb 02 05:11:09 2005
     203gettimeofday: Wed Feb  2 05:11:09 2005
     204time:         Wed Feb  2 05:11:09 2005
     205localtime:    Wed Feb  2 05:11:09 2005
     206gmtime:       Wed Feb  2 05:11:09 2005
    207207
    208208rtems_clock_get          05:11:14   02/02/2005
    209 gettimeofday: Wed Feb 02 05:11:14 2005
    210 time:         Wed Feb 02 05:11:14 2005
    211 localtime:    Wed Feb 02 05:11:14 2005
    212 gmtime:       Wed Feb 02 05:11:14 2005
     209gettimeofday: Wed Feb  2 05:11:14 2005
     210time:         Wed Feb  2 05:11:14 2005
     211localtime:    Wed Feb  2 05:11:14 2005
     212gmtime:       Wed Feb  2 05:11:14 2005
    213213
    214214rtems_clock_get          05:11:19   02/02/2005
    215 gettimeofday: Wed Feb 02 05:11:19 2005
    216 time:         Wed Feb 02 05:11:19 2005
    217 localtime:    Wed Feb 02 05:11:19 2005
    218 gmtime:       Wed Feb 02 05:11:19 2005
     215gettimeofday: Wed Feb  2 05:11:19 2005
     216time:         Wed Feb  2 05:11:19 2005
     217localtime:    Wed Feb  2 05:11:19 2005
     218gmtime:       Wed Feb  2 05:11:19 2005
    219219
    220220rtems_clock_get          05:11:24   02/02/2005
    221 gettimeofday: Wed Feb 02 05:11:24 2005
    222 time:         Wed Feb 02 05:11:24 2005
    223 localtime:    Wed Feb 02 05:11:24 2005
    224 gmtime:       Wed Feb 02 05:11:24 2005
     221gettimeofday: Wed Feb  2 05:11:24 2005
     222time:         Wed Feb  2 05:11:24 2005
     223localtime:    Wed Feb  2 05:11:24 2005
     224gmtime:       Wed Feb  2 05:11:24 2005
    225225
    226226rtems_clock_set          10:05:59   03/03/2010
    227227rtems_clock_get          10:05:59   03/03/2010
    228 gettimeofday: Wed Mar 03 10:05:59 2010
    229 time:         Wed Mar 03 10:05:59 2010
    230 localtime:    Wed Mar 03 10:05:59 2010
    231 gmtime:       Wed Mar 03 10:05:59 2010
     228gettimeofday: Wed Mar  3 10:05:59 2010
     229time:         Wed Mar  3 10:05:59 2010
     230localtime:    Wed Mar  3 10:05:59 2010
     231gmtime:       Wed Mar  3 10:05:59 2010
    232232
    233233rtems_clock_get          10:06:04   03/03/2010
    234 gettimeofday: Wed Mar 03 10:06:04 2010
    235 time:         Wed Mar 03 10:06:04 2010
    236 localtime:    Wed Mar 03 10:06:04 2010
    237 gmtime:       Wed Mar 03 10:06:04 2010
     234gettimeofday: Wed Mar  3 10:06:04 2010
     235time:         Wed Mar  3 10:06:04 2010
     236localtime:    Wed Mar  3 10:06:04 2010
     237gmtime:       Wed Mar  3 10:06:04 2010
    238238
    239239rtems_clock_get          10:06:09   03/03/2010
    240 gettimeofday: Wed Mar 03 10:06:09 2010
    241 time:         Wed Mar 03 10:06:09 2010
    242 localtime:    Wed Mar 03 10:06:09 2010
    243 gmtime:       Wed Mar 03 10:06:09 2010
     240gettimeofday: Wed Mar  3 10:06:09 2010
     241time:         Wed Mar  3 10:06:09 2010
     242localtime:    Wed Mar  3 10:06:09 2010
     243gmtime:       Wed Mar  3 10:06:09 2010
    244244
    245245rtems_clock_get          10:06:14   03/03/2010
    246 gettimeofday: Wed Mar 03 10:06:14 2010
    247 time:         Wed Mar 03 10:06:14 2010
    248 localtime:    Wed Mar 03 10:06:14 2010
    249 gmtime:       Wed Mar 03 10:06:14 2010
     246gettimeofday: Wed Mar  3 10:06:14 2010
     247time:         Wed Mar  3 10:06:14 2010
     248localtime:    Wed Mar  3 10:06:14 2010
     249gmtime:       Wed Mar  3 10:06:14 2010
    250250
    251251rtems_clock_get          10:06:19   03/03/2010
    252 gettimeofday: Wed Mar 03 10:06:19 2010
    253 time:         Wed Mar 03 10:06:19 2010
    254 localtime:    Wed Mar 03 10:06:19 2010
    255 gmtime:       Wed Mar 03 10:06:19 2010
     252gettimeofday: Wed Mar  3 10:06:19 2010
     253time:         Wed Mar  3 10:06:19 2010
     254localtime:    Wed Mar  3 10:06:19 2010
     255gmtime:       Wed Mar  3 10:06:19 2010
    256256
    257257rtems_clock_get          10:06:24   03/03/2010
    258 gettimeofday: Wed Mar 03 10:06:24 2010
    259 time:         Wed Mar 03 10:06:24 2010
    260 localtime:    Wed Mar 03 10:06:24 2010
    261 gmtime:       Wed Mar 03 10:06:24 2010
     258gettimeofday: Wed Mar  3 10:06:24 2010
     259time:         Wed Mar  3 10:06:24 2010
     260localtime:    Wed Mar  3 10:06:24 2010
     261gmtime:       Wed Mar  3 10:06:24 2010
    262262
    263263rtems_clock_set          15:00:59   04/04/2020
    264264rtems_clock_get          15:00:59   04/04/2020
    265 gettimeofday: Sat Apr 04 15:00:59 2020
    266 time:         Sat Apr 04 15:00:59 2020
    267 localtime:    Sat Apr 04 15:00:59 2020
    268 gmtime:       Sat Apr 04 15:00:59 2020
     265gettimeofday: Sat Apr  4 15:00:59 2020
     266time:         Sat Apr  4 15:00:59 2020
     267localtime:    Sat Apr  4 15:00:59 2020
     268gmtime:       Sat Apr  4 15:00:59 2020
    269269
    270270rtems_clock_get          15:01:04   04/04/2020
    271 gettimeofday: Sat Apr 04 15:01:04 2020
    272 time:         Sat Apr 04 15:01:04 2020
    273 localtime:    Sat Apr 04 15:01:04 2020
    274 gmtime:       Sat Apr 04 15:01:04 2020
     271gettimeofday: Sat Apr  4 15:01:04 2020
     272time:         Sat Apr  4 15:01:04 2020
     273localtime:    Sat Apr  4 15:01:04 2020
     274gmtime:       Sat Apr  4 15:01:04 2020
    275275
    276276rtems_clock_get          15:01:09   04/04/2020
    277 gettimeofday: Sat Apr 04 15:01:09 2020
    278 time:         Sat Apr 04 15:01:09 2020
    279 localtime:    Sat Apr 04 15:01:09 2020
    280 gmtime:       Sat Apr 04 15:01:09 2020
     277gettimeofday: Sat Apr  4 15:01:09 2020
     278time:         Sat Apr  4 15:01:09 2020
     279localtime:    Sat Apr  4 15:01:09 2020
     280gmtime:       Sat Apr  4 15:01:09 2020
    281281
    282282rtems_clock_get          15:01:14   04/04/2020
    283 gettimeofday: Sat Apr 04 15:01:14 2020
    284 time:         Sat Apr 04 15:01:14 2020
    285 localtime:    Sat Apr 04 15:01:14 2020
    286 gmtime:       Sat Apr 04 15:01:14 2020
     283gettimeofday: Sat Apr  4 15:01:14 2020
     284time:         Sat Apr  4 15:01:14 2020
     285localtime:    Sat Apr  4 15:01:14 2020
     286gmtime:       Sat Apr  4 15:01:14 2020
    287287
    288288rtems_clock_get          15:01:19   04/04/2020
    289 gettimeofday: Sat Apr 04 15:01:19 2020
    290 time:         Sat Apr 04 15:01:19 2020
    291 localtime:    Sat Apr 04 15:01:19 2020
    292 gmtime:       Sat Apr 04 15:01:19 2020
     289gettimeofday: Sat Apr  4 15:01:19 2020
     290time:         Sat Apr  4 15:01:19 2020
     291localtime:    Sat Apr  4 15:01:19 2020
     292gmtime:       Sat Apr  4 15:01:19 2020
    293293
    294294rtems_clock_get          15:01:24   04/04/2020
    295 gettimeofday: Sat Apr 04 15:01:24 2020
    296 time:         Sat Apr 04 15:01:24 2020
    297 localtime:    Sat Apr 04 15:01:24 2020
    298 gmtime:       Sat Apr 04 15:01:24 2020
     295gettimeofday: Sat Apr  4 15:01:24 2020
     296time:         Sat Apr  4 15:01:24 2020
     297localtime:    Sat Apr  4 15:01:24 2020
     298gmtime:       Sat Apr  4 15:01:24 2020
    299299
    300300
  • testsuites/psxtests/psxtimer/psxtimer.scn

    r80526fa r1fbd283c  
    11*** POSIX Timers Test ***
    2 Executing task A Fri Jan 01 00:00:01 1988
    3 Executing task B with x = 1 Fri Jan 01 00:00:02 1988
    4 Executing task A Fri Jan 01 00:00:02 1988
    5 Executing task C with x = 1 Fri Jan 01 00:00:03 1988
    6 Executing task A Fri Jan 01 00:00:03 1988
    7 Executing task B with x = 2 Fri Jan 01 00:00:04 1988
    8 Executing task A Fri Jan 01 00:00:04 1988
    9 Executing task A Fri Jan 01 00:00:05 1988
    10 Executing task B with x = 3 Fri Jan 01 00:00:06 1988
    11 Executing task C with x = 3 Fri Jan 01 00:00:06 1988
    12 Executing task A Fri Jan 01 00:00:06 1988
    13 Executing task A Fri Jan 01 00:00:07 1988
    14 Executing task B with x = 4 Fri Jan 01 00:00:08 1988
    15 Executing task A Fri Jan 01 00:00:08 1988
    16 Executing task C with x = 4 Fri Jan 01 00:00:09 1988
    17 Executing task A Fri Jan 01 00:00:09 1988
    18 Executing task B with x = 5 Fri Jan 01 00:00:10 1988
    19 Executing task A Fri Jan 01 00:00:10 1988
    20 Executing task A Fri Jan 01 00:00:11 1988
    21 Executing task B with x = 6 Fri Jan 01 00:00:12 1988
    22 Executing task C with x = 6 Fri Jan 01 00:00:12 1988
    23 Executing task A Fri Jan 01 00:00:12 1988
    24 Executing task A Fri Jan 01 00:00:13 1988
    25 Executing task B with x = 7 Fri Jan 01 00:00:14 1988
    26 Executing task A Fri Jan 01 00:00:14 1988
    27 Executing task C with x = 7 Fri Jan 01 00:00:15 1988
    28 Executing task A Fri Jan 01 00:00:15 1988
    29 Executing task B with x = 8 Fri Jan 01 00:00:16 1988
    30 Executing task A Fri Jan 01 00:00:16 1988
    31 Executing task A Fri Jan 01 00:00:17 1988
    32 Executing task B with x = 9 Fri Jan 01 00:00:18 1988
    33 Executing task C with x = 9 Fri Jan 01 00:00:18 1988
    34 Executing task A Fri Jan 01 00:00:18 1988
    35 Executing task A Fri Jan 01 00:00:19 1988
    36 Executing task B with x = 10 Fri Jan 01 00:00:20 1988
     2Executing task A Fri Jan  1 00:00:01 1988
     3Executing task B with x = 1 Fri Jan  1 00:00:02 1988
     4Executing task A Fri Jan  1 00:00:02 1988
     5Executing task C with x = 1 Fri Jan  1 00:00:03 1988
     6Executing task A Fri Jan  1 00:00:03 1988
     7Executing task B with x = 2 Fri Jan  1 00:00:04 1988
     8Executing task A Fri Jan  1 00:00:04 1988
     9Executing task A Fri Jan  1 00:00:05 1988
     10Executing task B with x = 3 Fri Jan  1 00:00:06 1988
     11Executing task C with x = 3 Fri Jan  1 00:00:06 1988
     12Executing task A Fri Jan  1 00:00:06 1988
     13Executing task A Fri Jan  1 00:00:07 1988
     14Executing task B with x = 4 Fri Jan  1 00:00:08 1988
     15Executing task A Fri Jan  1 00:00:08 1988
     16Executing task C with x = 4 Fri Jan  1 00:00:09 1988
     17Executing task A Fri Jan  1 00:00:09 1988
     18Executing task B with x = 5 Fri Jan  1 00:00:10 1988
     19Executing task A Fri Jan  1 00:00:10 1988
     20Executing task A Fri Jan  1 00:00:11 1988
     21Executing task B with x = 6 Fri Jan  1 00:00:12 1988
     22Executing task C with x = 6 Fri Jan  1 00:00:12 1988
     23Executing task A Fri Jan  1 00:00:12 1988
     24Executing task A Fri Jan  1 00:00:13 1988
     25Executing task B with x = 7 Fri Jan  1 00:00:14 1988
     26Executing task A Fri Jan  1 00:00:14 1988
     27Executing task C with x = 7 Fri Jan  1 00:00:15 1988
     28Executing task A Fri Jan  1 00:00:15 1988
     29Executing task B with x = 8 Fri Jan  1 00:00:16 1988
     30Executing task A Fri Jan  1 00:00:16 1988
     31Executing task A Fri Jan  1 00:00:17 1988
     32Executing task B with x = 9 Fri Jan  1 00:00:18 1988
     33Executing task C with x = 9 Fri Jan  1 00:00:18 1988
     34Executing task A Fri Jan  1 00:00:18 1988
     35Executing task A Fri Jan  1 00:00:19 1988
     36Executing task B with x = 10 Fri Jan  1 00:00:20 1988
    3737*** End of POSIX Timers Test ***
Note: See TracChangeset for help on using the changeset viewer.