[PATCH 1/1] spcpuset01: fix test comments

Daniel Hellstrom daniel at gaisler.com
Wed Nov 19 15:32:36 UTC 2014


---
 testsuites/sptests/spcpuset01/init.c         |    6 +-
 testsuites/sptests/spcpuset01/spcpuset01.doc |    2 +-
 testsuites/sptests/spcpuset01/spcpuset01.scn |  130 +++++++++++++-------------
 3 files changed, 69 insertions(+), 69 deletions(-)

diff --git a/testsuites/sptests/spcpuset01/init.c b/testsuites/sptests/spcpuset01/init.c
index 3ed4d47..3dcf462 100644
--- a/testsuites/sptests/spcpuset01/init.c
+++ b/testsuites/sptests/spcpuset01/init.c
@@ -77,7 +77,7 @@ static void test_cpu_set_case_1(size_t cpu)
   /*
    * Set to all zeros and verify
    */
-  printf( "Exercise CPU_ZERO, CPU_SET(%zu), and CPU_ISET\n", cpu );
+  printf( "Exercise CPU_ZERO, CPU_SET(%zu), and CPU_ISSET\n", cpu );
   CPU_ZERO(&set1);
   CPU_SET(cpu, &set1);
 
@@ -99,7 +99,7 @@ static void test_cpu_clr_case_1(size_t cpu)
   /*
    * Set to all zeros and verify
    */
-  printf( "Exercise CPU_FILL, CPU_CLR(%zu), and CPU_ISET\n", cpu );
+  printf( "Exercise CPU_FILL, CPU_CLR(%zu), and CPU_ISSET\n", cpu );
   CPU_FILL(&set1);
   CPU_CLR(cpu, &set1);
 
@@ -119,7 +119,7 @@ static void test_cpu_copy_case_1(void)
   /*
    * CPU_EQUAL
    */
-  puts( "Exercise CPU_ZERO, CPU_COPY, and CPU_ISET" );
+  puts( "Exercise CPU_ZERO, CPU_COPY, and CPU_ISSET" );
   CPU_ZERO(&set1);
   CPU_FILL(&set2);
 
diff --git a/testsuites/sptests/spcpuset01/spcpuset01.doc b/testsuites/sptests/spcpuset01/spcpuset01.doc
index cc0d0bc..50297d7 100644
--- a/testsuites/sptests/spcpuset01/spcpuset01.doc
+++ b/testsuites/sptests/spcpuset01/spcpuset01.doc
@@ -7,6 +7,6 @@
 #
 
 This is a set of simple tests that verify that the fixed size
-functions in cpuset.h:  CPU_ZERO, CPU_COUNT,CPU_ISET, CPU_EQUAL, 
+functions in cpuset.h:  CPU_ZERO, CPU_COUNT, CPU_ISSET, CPU_EQUAL, 
 CPU_CMP, CPU_EMPTY, CPU_SET, CPU_CLR, CPU_AND, CPU_NAND, CPU_OR, 
 and CPU_XOR
diff --git a/testsuites/sptests/spcpuset01/spcpuset01.scn b/testsuites/sptests/spcpuset01/spcpuset01.scn
index 5abdb61..ead6b7f 100644
--- a/testsuites/sptests/spcpuset01/spcpuset01.scn
+++ b/testsuites/sptests/spcpuset01/spcpuset01.scn
@@ -3,71 +3,71 @@ sparc-rtems4.11-run is /home/jennifer/development/rtems/4.11/bin/sparc-rtems4.11
 Exercise CPU_ZERO, CPU_ISSET, and CPU_COUNT
 Exercise CPU_FILL, CPU_ISSET, and CPU_COUNT
 Exercise CPU_ZERO, CPU_EQUAL, CPU_CMP, and CPU_EMPTY
-Exercise CPU_ZERO, CPU_COPY, and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(0), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(0), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(1), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(1), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(2), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(2), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(3), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(3), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(4), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(4), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(5), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(5), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(6), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(6), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(7), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(7), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(8), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(8), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(9), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(9), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(10), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(10), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(11), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(11), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(12), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(12), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(13), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(13), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(14), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(14), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(15), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(15), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(16), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(16), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(17), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(17), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(18), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(18), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(19), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(19), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(20), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(20), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(21), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(21), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(22), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(22), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(23), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(23), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(24), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(24), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(25), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(25), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(26), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(26), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(27), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(27), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(28), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(28), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(29), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(29), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(30), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(30), and CPU_ISET
-Exercise CPU_ZERO, CPU_SET(31), and CPU_ISET
-Exercise CPU_FILL, CPU_CLR(31), and CPU_ISET
+Exercise CPU_ZERO, CPU_COPY, and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(0), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(0), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(1), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(1), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(2), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(2), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(3), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(3), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(4), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(4), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(5), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(5), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(6), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(6), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(7), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(7), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(8), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(8), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(9), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(9), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(10), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(10), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(11), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(11), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(12), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(12), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(13), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(13), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(14), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(14), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(15), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(15), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(16), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(16), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(17), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(17), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(18), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(18), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(19), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(19), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(20), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(20), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(21), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(21), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(22), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(22), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(23), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(23), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(24), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(24), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(25), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(25), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(26), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(26), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(27), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(27), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(28), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(28), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(29), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(29), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(30), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(30), and CPU_ISSET
+Exercise CPU_ZERO, CPU_SET(31), and CPU_ISSET
+Exercise CPU_FILL, CPU_CLR(31), and CPU_ISSET
 Exercise CPU_AND with bits 0,1
 Exercise CPU_NAND with bits 0,1
 Exercise CPU_OR with bits 0,1
-- 
1.7.0.4



More information about the devel mailing list