aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/unittest')
-rw-r--r--src/plugins/unittest/string_test.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/unittest/string_test.c b/src/plugins/unittest/string_test.c
index 65b7c62ece8..0d41bb27918 100644
--- a/src/plugins/unittest/string_test.c
+++ b/src/plugins/unittest/string_test.c
@@ -351,10 +351,6 @@ test_clib_strcmp (vlib_main_t * vm, unformat_input_t * input)
indicator = clib_strcmp (s, s);
if (indicator != 0)
return -1;
- /* verify it against strcmp */
- indicator = strcmp (s, s);
- if (indicator != 0)
- return -1;
/* OK, seems to work */
return 0;
@@ -518,8 +514,6 @@ test_clib_strncmp (vlib_main_t * vm, unformat_input_t * input)
sizeof ("Every moment is a fresh beginning") - 1);
if (v_indicator != 0)
return -1;
- if (v_indicator != indicator)
- return -1;
/* OK, seems to work */
return 0;