tile: fix build
[dpdk.git] / app / test / test_eal_fs.c
index 8d4edc1..7897812 100644 (file)
  */
 
 #include "test.h"
-#ifndef RTE_EXEC_ENV_BAREMETAL
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
 
 /* eal_filesystem.h is not a public header file, so use relative path */
-#include "../../lib/librte_eal/linuxapp/eal/include/eal_filesystem.h"
+#include "../../lib/librte_eal/common/eal_filesystem.h"
 
 static int
 test_parse_sysfs_value(void)
@@ -204,9 +203,4 @@ test_eal_fs(void)
        return 0;
 }
 
-static struct test_command eal_fs_cmd = {
-       .command = "eal_fs_autotest",
-       .callback = test_eal_fs,
-};
-REGISTER_TEST_COMMAND(eal_fs_cmd);
-#endif
+REGISTER_TEST_COMMAND(eal_fs_autotest, test_eal_fs);