tile: fix build
[dpdk.git] / app / test / test_table.c
index de6c27d..1faa0a6 100644 (file)
@@ -192,15 +192,11 @@ test_table(void)
 
 #ifdef RTE_LIBRTE_ACL
        printf("\n\n\n\n************ACL tests************\n");
-       if (test_table_ACL() < 0)
+       if (test_table_acl() < 0)
                return -1;
 #endif
 
        return 0;
 }
 
-static struct test_command table_cmd = {
-       .command = "table_autotest",
-       .callback = test_table,
-};
-REGISTER_TEST_COMMAND(table_cmd);
+REGISTER_TEST_COMMAND(table_autotest, test_table);