diff options
Diffstat (limited to 'testsuites/validation/tc-attr.c')
-rw-r--r-- | testsuites/validation/tc-attr.c | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/testsuites/validation/tc-attr.c b/testsuites/validation/tc-attr.c index 021ecb2dcf..03bd3046a5 100644 --- a/testsuites/validation/tc-attr.c +++ b/testsuites/validation/tc-attr.c @@ -122,6 +122,10 @@ * * - Check that the calculated value is equal to RTEMS_SEMAPHORE_CLASS. * + * - Check the value of RTEMS_DEFAULT_ATTRIBUTES. + * + * - Check RTEMS_DEFAULT_ATTRIBUTES equals ``RTEMS_FIFO | RTEMS_LOCAL``. + * * @{ */ @@ -313,16 +317,34 @@ static void RtemsAttrValAttr_Action_3( void ) } /** + * @brief Check the value of RTEMS_DEFAULT_ATTRIBUTES. + */ +static void RtemsAttrValAttr_Action_4( void ) +{ + /* No action */ + + /* + * Check RTEMS_DEFAULT_ATTRIBUTES equals ``RTEMS_FIFO | RTEMS_LOCAL``. + */ + T_step_eq_int( + 22, + RTEMS_DEFAULT_ATTRIBUTES, + RTEMS_FIFO | RTEMS_LOCAL + ); +} + +/** * @fn void T_case_body_RtemsAttrValAttr( void ) */ T_TEST_CASE( RtemsAttrValAttr ) { - T_plan( 22 ); + T_plan( 23 ); RtemsAttrValAttr_Action_0(); RtemsAttrValAttr_Action_1(); RtemsAttrValAttr_Action_2(); RtemsAttrValAttr_Action_3(); + RtemsAttrValAttr_Action_4(); } /** @} */ |