aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_setattr.c2
-rw-r--r--test/test_write_cache.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/test_setattr.c b/test/test_setattr.c
index 017b5e2..dc6b474 100644
--- a/test/test_setattr.c
+++ b/test/test_setattr.c
@@ -154,7 +154,9 @@ int main(int argc, char *argv[]) {
pthread_t fs_thread;
assert(fuse_parse_cmdline(&args, &fuse_opts) == 0);
+#ifndef __FreeBSD__
assert(fuse_opt_add_arg(&args, "-oauto_unmount") == 0);
+#endif
se = fuse_session_new(&args, &tfs_oper,
sizeof(tfs_oper), NULL);
assert (se != NULL);
diff --git a/test/test_write_cache.c b/test/test_write_cache.c
index a5fafd7..ac813a9 100644
--- a/test/test_write_cache.c
+++ b/test/test_write_cache.c
@@ -186,7 +186,9 @@ int main(int argc, char *argv[]) {
assert(fuse_opt_parse(&args, &options, option_spec, NULL) == 0);
assert(fuse_parse_cmdline(&args, &fuse_opts) == 0);
+#ifndef __FreeBSD__
assert(fuse_opt_add_arg(&args, "-oauto_unmount") == 0);
+#endif
se = fuse_session_new(&args, &tfs_oper,
sizeof(tfs_oper), NULL);
assert (se != NULL);