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:
Sebastian Huber
2022-08-01 09:14:07 +02:00
parent 1c6ac88f93
commit 4d77f725ca

View File

@@ -88,7 +88,7 @@ static void check_dirty_memory( void )
rtems_test_assert( p != NULL ); rtems_test_assert( p != NULL );
rtems_test_assert( *p == 0xcf ); 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 ); 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 != NULL );
rtems_test_assert( *p == 0 ); 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 ); rtems_test_assert( *p == 0 );
} }