Changeset e984c645 in rtems
- Timestamp:
- 06/03/96 18:59:59 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- fa4fdd7d
- Parents:
- 685f4d6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/tests/psxtests/psx01/init.c
r685f4d6 re984c645 52 52 pthread_t thread_id; 53 53 time_t seconds; 54 time_t remaining; 54 55 struct tm tm; 55 56 struct timespec tv; … … 75 76 /* use sleep to delay */ 76 77 77 seconds= sleep( 3 );78 assert( ! seconds);78 remaining = sleep( 3 ); 79 assert( !remaining ); 79 80 80 81 /* print new times to make sure it has changed and we can get the realtime */ … … 87 88 seconds = time( NULL ); 88 89 printf( ctime( &seconds ) ); 90 91 /* check the time remaining */ 92 93 printf( "seconds remaining (%d)\n", (int)remaining ); 94 assert( !remaining ); 89 95 90 96 /* use nanosleep to delay */ -
testsuites/psxtests/psx01/init.c
r685f4d6 re984c645 52 52 pthread_t thread_id; 53 53 time_t seconds; 54 time_t remaining; 54 55 struct tm tm; 55 56 struct timespec tv; … … 75 76 /* use sleep to delay */ 76 77 77 seconds= sleep( 3 );78 assert( ! seconds);78 remaining = sleep( 3 ); 79 assert( !remaining ); 79 80 80 81 /* print new times to make sure it has changed and we can get the realtime */ … … 87 88 seconds = time( NULL ); 88 89 printf( ctime( &seconds ) ); 90 91 /* check the time remaining */ 92 93 printf( "seconds remaining (%d)\n", (int)remaining ); 94 assert( !remaining ); 89 95 90 96 /* use nanosleep to delay */
Note: See TracChangeset
for help on using the changeset viewer.