X-Git-Url: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git;a=blobdiff_plain;f=app%2Ftest%2Ftest_link_bonding_mode4.c;h=53caa3e980877c90c344fab65dc58e5cadcd61dc;hp=a3f1f0884b454810b3b36a7daf75b832e8e6f8bc;hb=5d4e5dcd8a186778b3d78e27c81550d07a288fd2;hpb=a41e6ff15809d40e0f9bbc9576bf8f7f80fbec1d diff --git a/app/test/test_link_bonding_mode4.c b/app/test/test_link_bonding_mode4.c index a3f1f088..53caa3e9 100644 --- a/app/test/test_link_bonding_mode4.c +++ b/app/test/test_link_bonding_mode4.c @@ -1599,9 +1599,4 @@ test_link_bonding_mode4(void) return unit_test_suite_runner(&link_bonding_mode4_test_suite); } -static struct test_command link_bonding_cmd = { - .command = "link_bonding_mode4_autotest", - .callback = test_link_bonding_mode4, -}; - -REGISTER_TEST_COMMAND(link_bonding_cmd); +REGISTER_TEST_COMMAND(link_bonding_mode4_autotest, test_link_bonding_mode4);