This test case calls functions of the C Library which are included in the space profile.
More...
|
void | T_case_body_TestsuitesValidationCLibrary (void) |
|
This test case calls functions of the C Library which are included in the space profile.
This test case performs the following actions:
- Allocate four bytes with an alignment of 128 bytes with aligned_alloc().
- Check that the returned pointer is not NULL.
- Check that the returned pointer is aligned by 128 bytes.
- Allocate four bytes with rtems_malloc().
- Check that the returned pointer is not NULL.
- Set an integer variable to one and then to zero with memset().
- Check that the integer variable is equal to zero.
- Set a source integer variable to one, set a destination integer variable to two, and copy the source to the destination variable through memcpy().
- Check that the destination integer variable is equal to one.