aboutsummaryrefslogtreecommitdiffstats
path: root/src/scvpp/tests/scvpp_test.c
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2019-03-19 01:00:47 +0000
committerHongjun Ni <hongjun.ni@intel.com>2019-03-19 01:00:47 +0000
commit5776cb5567b68470f23acafb4bec3d01833ce6df (patch)
tree5a1e807c0cb91d478eca43d0f673daa4006fa124 /src/scvpp/tests/scvpp_test.c
parent4157d85b570d5da6af042758813712ae04573c8f (diff)
Revert "Integrate interface.api changes to 3.0.0 to sweetcomb"
This reverts commit 4157d85b570d5da6af042758813712ae04573c8f. Change-Id: I5637ad3e994dcc63d1acd9d1f9729c0dbd2acbf4 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/scvpp/tests/scvpp_test.c')
-rw-r--r--src/scvpp/tests/scvpp_test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scvpp/tests/scvpp_test.c b/src/scvpp/tests/scvpp_test.c
index e50f365..adc2b55 100644
--- a/src/scvpp/tests/scvpp_test.c
+++ b/src/scvpp/tests/scvpp_test.c
@@ -48,9 +48,7 @@ static void test_name2index(void **state)
rc = get_interface_id(&query);
assert_int_equal(rc, 1);
- //assert_string_equal(iface_name, query.sw_interface_details.interface_name.buf);
- assert_string_equal(iface_name,
- vl_api_from_api_string(&query.sw_interface_details.interface_name));
+ assert_string_equal(iface_name, query.sw_interface_details.interface_name);
assert_int_equal(query.sw_interface_details.sw_if_index, 1);
}