aboutsummaryrefslogtreecommitdiff
path: root/test/test_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_syscalls.c')
-rw-r--r--test/test_syscalls.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test_syscalls.c b/test/test_syscalls.c
index e30cfc1..392a210 100644
--- a/test/test_syscalls.c
+++ b/test/test_syscalls.c
@@ -792,6 +792,7 @@ static int test_create_unlink(void)
return 0;
}
+#ifndef __FreeBSD__
static int test_mknod(void)
{
int err = 0;
@@ -824,6 +825,7 @@ static int test_mknod(void)
success();
return 0;
}
+#endif
#define test_open(exist, flags, mode) do_test_open(exist, flags, #flags, mode)
@@ -1280,6 +1282,7 @@ static int test_rename_dir(void)
return 0;
}
+#ifndef __FreeBSD__
static int test_mkfifo(void)
{
int res;
@@ -1311,6 +1314,7 @@ static int test_mkfifo(void)
success();
return 0;
}
+#endif
static int test_mkdir(void)
{
@@ -1447,11 +1451,13 @@ int main(int argc, char *argv[])
err += test_create();
err += test_create_unlink();
- err += test_mknod();
err += test_symlink();
err += test_link();
err += test_link2();
+#ifndef __FreeBSD__
+ err += test_mknod();
err += test_mkfifo();
+#endif
err += test_mkdir();
err += test_rename_file();
err += test_rename_dir();