summaryrefslogtreecommitdiffstats
path: root/src/scvpp/tests
diff options
context:
space:
mode:
authorYohanPipereau <ypiperea@cisco.com>2019-03-15 18:26:35 +0100
committerHongjun Ni <hongjun.ni@intel.com>2019-03-18 01:11:49 +0000
commit4157d85b570d5da6af042758813712ae04573c8f (patch)
tree74e07e950468d578e24088a3545f90755c99e976 /src/scvpp/tests
parentd7680154981c54989bcbcab81173791dc1805512 (diff)
Integrate interface.api changes to 3.0.0 to sweetcomb
Change-Id: If7cd04e4e699e27e9fd278a1ac1897d5f53a4345 Signed-off-by: YohanPipereau <ypiperea@cisco.com>
Diffstat (limited to 'src/scvpp/tests')
-rw-r--r--src/scvpp/tests/scvpp_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scvpp/tests/scvpp_test.c b/src/scvpp/tests/scvpp_test.c
index adc2b55..e50f365 100644
--- a/src/scvpp/tests/scvpp_test.c
+++ b/src/scvpp/tests/scvpp_test.c
@@ -48,7 +48,9 @@ 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);
+ //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_int_equal(query.sw_interface_details.sw_if_index, 1);
}