diff options
author | Vassili Tchersky <vt+git@vbcy.org> | 2025-02-17 08:47:57 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-02-18 18:11:00 +0100 |
commit | 84da6e08fb533bea595373e20b3b8a4edb4987cb (patch) | |
tree | f14c528853cdf0360cd6aa5ea85062feafddcfd6 | |
parent | 42045175964ca3f46dd8f49409ac0cc97e51289e (diff) | |
download | libfuse-84da6e08fb533bea595373e20b3b8a4edb4987cb.tar.gz |
tests: Disable tests with TMP_FILE on FreeBSD
Not supported yet on this platform.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283179
Signed-off-by: Vassili Tchersky <vt+git@vbcy.org>
-rw-r--r-- | test/test_syscalls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_syscalls.c b/test/test_syscalls.c index 26b2ff2..97906a3 100644 --- a/test/test_syscalls.c +++ b/test/test_syscalls.c @@ -1957,6 +1957,7 @@ static int do_test_create_ro_dir(int flags, const char *flags_str) return 0; } +#ifndef __FreeBSD__ /* this tests open with O_TMPFILE note that this will only work with the fuse low level api you will get ENOTSUP with the high level api */ @@ -2054,6 +2055,7 @@ static int test_create_and_link_tmpfile(void) success(); return 0; } +#endif int main(int argc, char *argv[]) { @@ -2183,8 +2185,10 @@ int main(int argc, char *argv[]) err += test_create_ro_dir(O_CREAT | O_WRONLY); err += test_create_ro_dir(O_CREAT | O_TRUNC); err += test_copy_file_range(); +#ifndef __FreeBSD__ err += test_create_tmpfile(); err += test_create_and_link_tmpfile(); +#endif unlink(testfile2); unlink(testsock); |