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 22:32:49 +0100 |
commit | 2eccb37c3a0134720017390c6d7d8fc20f5a93fa (patch) | |
tree | 4648a74b05dd84d8972332e6bc0695f04615fcfa /test/test_syscalls.c | |
parent | 1ff42ee6484de1b35e9bca8e28d36afe36b25c90 (diff) | |
download | libfuse-2eccb37c3a0134720017390c6d7d8fc20f5a93fa.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>
Diffstat (limited to 'test/test_syscalls.c')
-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); |