]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_eal_fs.c
add FreeBSD support
[dpdk.git] / app / test / test_eal_fs.c
index 438d4dcc6ab8f5b36478e08a18d28450c16bf888..93d8a7fcfd6244f391d0ccfb13db86d162961a79 100644 (file)
@@ -53,6 +53,11 @@ test_parse_sysfs_value(void)
        unsigned valid_number;
        unsigned long retval = 0;
 
+#ifdef RTE_EXEC_ENV_BSDAPP
+       /* BSD doesn't have /proc/pid/fd */
+       return 0;
+#endif
+
        printf("Testing function eal_parse_sysfs_value()\n");
 
        /* get a temporary filename to use for all tests - create temp file handle and then