
19 Aug
2021
19 Aug
'21
4:50 p.m.
On 8/17/21 6:38 AM, jx8zjs wrote:
From: Jinsheng Zhang <zhangjl02@inspur.com>
Test virNetDevOpenvswitchInterfaceSetQos and virNetDevOpenvswitchInterfaceClearQos with dryrun method.
Signed-off-by: zhangjl02 <zhangjl02@inspur.com> --- tests/virnetdevopenvswitchtest.c | 196 ++++++++++++++++++++++++++++++- 1 file changed, 195 insertions(+), 1 deletion(-)
-VIR_TEST_MAIN(mymain); +VIR_TEST_MAIN_PRELOAD(mymain, VIR_TEST_MOCK("virnetdevbandwidth"))
Nit pick - here we like to put VIR_TEST_MOCK() on a separate line. And huge thank you for introducing the test. It was on my todo list. Michal