From 2eccb37c3a0134720017390c6d7d8fc20f5a93fa Mon Sep 17 00:00:00 2001 From: Vassili Tchersky Date: Mon, 17 Feb 2025 08:47:57 +0100 Subject: [PATCH] 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 --- test/test_syscalls.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2