INN commit: trunk/tests/lib (confparse-t.c)

INN Commit rra at isc.org
Sun Dec 7 20:54:32 UTC 2014


    Date: Sunday, December 7, 2014 @ 12:54:31
  Author: iulius
Revision: 9764

Mark two tests for removal when switching confparse-t.c to new C TAP Harness syntax

These tests depend on the internal implementation of the vector library.
The functionality is already tested by the vector test suite.

Modified:
  trunk/tests/lib/confparse-t.c

---------------+
 confparse-t.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: confparse-t.c
===================================================================
--- confparse-t.c	2014-12-07 20:39:49 UTC (rev 9763)
+++ confparse-t.c	2014-12-07 20:54:31 UTC (rev 9764)
@@ -515,7 +515,7 @@
         exit(1);
     vector = config_params(group);
     ok_int(67, 2, vector->count);
-    ok_int(68, 3, vector->allocated);
+    skip(68, "test to be removed when using the new C TAP Harness syntax");
     if (strcmp(vector->strings[0], "foo") == 0)
         ok_string(69, "bar", vector->strings[1]);
     else if (strcmp(vector->strings[0], "bar") == 0)
@@ -638,7 +638,7 @@
     vector = config_params(subgroup);
     ok(153, vector != NULL);
     ok_int(154, 3, vector->count);
-    ok_int(155, 4, vector->allocated);
+    skip(155, "test to be removed when using the new C TAP Harness syntax");
     ok_string(156, "third", vector->strings[0]);
     ok_string(157, "second", vector->strings[1]);
     ok_string(158, "first", vector->strings[2]);



More information about the inn-committers mailing list