1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
9 #include <rte_common.h>
10 #include <rte_version.h>
18 const char *version = rte_version();
21 printf("Version string: '%s'\n", version);
22 if (*version == '\0' ||
23 strncmp(version, RTE_VER_PREFIX, sizeof(RTE_VER_PREFIX)-1) != 0)
28 REGISTER_TEST_COMMAND(version_autotest, test_version);