testsuites: Update lock init validation test

This test was broken by b031cf2b19 since
it expects the macros to evaluate to an empty string for non-SMP builds.
This updates the check for the new content.
This commit is contained in:
Kinsey Moore
2024-06-15 08:52:54 -05:00
committed by Kinsey Moore
parent 2c0ab5ba0b
commit 644041626d

View File

@@ -142,7 +142,7 @@ static void RtemsIntrValIntrNonSmp_Action_0( void )
* Check that rtems_interrupt_lock_initialize() expands to white space only.
*/
s = RTEMS_XSTRING( rtems_interrupt_lock_initialize( x, y ) );
T_true( IsWhiteSpaceOnly( s ) );
T_true( IsEqualIgnoreWhiteSpace( s, "(void)y;" ) );
/*
* Check that rtems_interrupt_lock_acquire_isr() expands to a code block