#include "test.h"
-int
+static int
test_version(void)
{
const char *version = rte_version();
return -1;
return 0;
}
+
+static struct test_command version_cmd = {
+ .command = "version_autotest",
+ .callback = test_version,
+};
+REGISTER_TEST_COMMAND(version_cmd);