[rtems commit] smpfatal09: Fix test case

Sebastian Huber sebh at rtems.org
Fri Feb 14 09:06:53 UTC 2020


Module:    rtems
Branch:    master
Commit:    33d89aff99a01f970d03e4bc1a0d958b4c7db868
Changeset: http://git.rtems.org/rtems/commit/?id=33d89aff99a01f970d03e4bc1a0d958b4c7db868

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb 14 10:05:21 2020 +0100

smpfatal09: Fix test case

Update #3838.

---

 testsuites/smptests/smpfatal09/init.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/testsuites/smptests/smpfatal09/init.c b/testsuites/smptests/smpfatal09/init.c
index 3ef9392..e67ed0a 100644
--- a/testsuites/smptests/smpfatal09/init.c
+++ b/testsuites/smptests/smpfatal09/init.c
@@ -62,13 +62,7 @@ static void consume_all_memory( void )
 
 static void begin_test( void )
 {
-  int i;
-
   TEST_BEGIN();
-  i = *PER_CPU_DATA_GET( _Per_CPU_Get_snapshot(), int, i );
-  RTEMS_OBFUSCATE_VARIABLE( i );
-  rtems_test_assert( i == 123 );
-
   consume_all_memory();
 }
 



More information about the vc mailing list