X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_ivshmem.c;fp=app%2Ftest%2Ftest_ivshmem.c;h=ae9fd6cccc0a3f79f19f1447ed269475b0ec23ea;hb=9ecc306d7eeeb3bb612b968250f203093a721781;hp=4e6148841594aeaac33ab2978053b2ce2acca062;hpb=8be94df6e9f5f70516cb86d82dd04fefaa0fe8b3;p=deb_dpdk.git diff --git a/app/test/test_ivshmem.c b/app/test/test_ivshmem.c index 4e614884..ae9fd6cc 100644 --- a/app/test/test_ivshmem.c +++ b/app/test/test_ivshmem.c @@ -430,8 +430,4 @@ test_ivshmem(void) return -1; } -static struct test_command ivshmem_cmd = { - .command = "ivshmem_autotest", - .callback = test_ivshmem, -}; -REGISTER_TEST_COMMAND(ivshmem_cmd); +REGISTER_TEST_COMMAND(ivshmem_autotest, test_ivshmem);