forked from Imagelibrary/rtems
2011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c, psxmsgq01/init.c, psxreaddir/test.c: Fix tests broken in warning pass.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psxfile01/test.c, psxmsgq01/init.c, psxreaddir/test.c: Fix tests
|
||||
broken in warning pass.
|
||||
|
||||
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psx04/task3.c, psxfile01/test.c, psxhdrs/Makefile.am,
|
||||
|
||||
@@ -656,7 +656,7 @@ since new path is not valid");
|
||||
status = truncate( "/tmp/fred", 10 );
|
||||
rtems_test_assert( status == -1);
|
||||
|
||||
rtems_status = rtems_io_register_name( "/dev/console", 0, 0 );
|
||||
rtems_status = rtems_io_register_name( "/dev/not_console", 0, 0 );
|
||||
directive_failed( rtems_status, "io register" );
|
||||
|
||||
test_case_reopen_append();
|
||||
|
||||
@@ -1193,7 +1193,6 @@ void verify_timedout_mq_timedsend(
|
||||
struct timeval tv1, tv2, tv3;
|
||||
struct timezone tz1, tz2;
|
||||
int len;
|
||||
int status;
|
||||
char *msg;
|
||||
|
||||
printf( "Init: verify_timedout_mq_timedsend - on queue %s ", Test_q[que].name);
|
||||
@@ -1204,8 +1203,7 @@ void verify_timedout_mq_timedsend(
|
||||
timeout.tv_sec = tv1.tv_sec - 1;
|
||||
timeout.tv_nsec = tv1.tv_usec * 1000;
|
||||
|
||||
status = mq_timedsend( Test_q[que].mq, msg, len , 0, &timeout );
|
||||
rtems_test_assert( status == 0 );
|
||||
(void) mq_timedsend( Test_q[que].mq, msg, len , 0, &timeout );
|
||||
|
||||
gettimeofday( &tv2, &tz2 );
|
||||
tv3.tv_sec = tv2.tv_sec - tv1.tv_sec;
|
||||
|
||||
@@ -82,7 +82,7 @@ void complete_printdir( char *path )
|
||||
|
||||
printdir( the_dir );
|
||||
status = closedir( the_dir );
|
||||
rtems_test_assert( status );
|
||||
rtems_test_assert( !status );
|
||||
}
|
||||
|
||||
char *many_files[] = {
|
||||
|
||||
Reference in New Issue
Block a user