aboutsummaryrefslogtreecommitdiff
path: root/test/test_setattr.c
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-24 17:09:41 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-24 20:50:44 +0200
commit53de0adb1a8f99dcd6d6af9a2c2f3547e1cfeb2b (patch)
tree3eec38c1dd1615d7589ac4b516b57c7743efba2c /test/test_setattr.c
parent30ead3a5cf6405dab9d5eeac79ffe6a0e9d0aafd (diff)
Don't use -o auto_unmount under FreeBSD.
Diffstat (limited to 'test/test_setattr.c')
-rw-r--r--test/test_setattr.c2
1 files changed, 2 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);