forked from Imagelibrary/rtems
sp54: Fix test case
Since commit 6a6580331d, the local table is
zero-initialized. Use an initial object control block instead.
Update #4678.
This commit is contained in:
@@ -88,7 +88,7 @@ static void check_dirty_memory( void )
|
||||
rtems_test_assert( p != NULL );
|
||||
rtems_test_assert( *p == 0xcf );
|
||||
|
||||
p = (unsigned char *) _Thread_Information.Objects.local_table;
|
||||
p = (unsigned char *) _Thread_Information.Objects.initial_objects;
|
||||
rtems_test_assert( *p == 0xcf );
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ static void check_zero_workspace_automatically( void )
|
||||
rtems_test_assert( p != NULL );
|
||||
rtems_test_assert( *p == 0 );
|
||||
|
||||
p = (unsigned char *) _Thread_Information.Objects.local_table;
|
||||
p = (unsigned char *) _Thread_Information.Objects.initial_objects;
|
||||
rtems_test_assert( *p == 0 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user