From: Volker Lendecke Date: Thu, 9 Nov 2023 15:23:49 +0000 (+0100) Subject: torture3: Correct use of enum client_flavour defines X-Git-Tag: talloc-2.4.2~782 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2955801491113200d7c5892839b9f0b47aabb300;p=thirdparty%2Fsamba.git torture3: Correct use of enum client_flavour defines enum client_flavour does not define LINUX, it defines WINDOWS and POSIX. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Nov 10 02:33:33 UTC 2023 on atb-devel-224 --- diff --git a/source3/torture/test_posix.c b/source3/torture/test_posix.c index ac4c1a1cb34..ca403360153 100644 --- a/source3/torture/test_posix.c +++ b/source3/torture/test_posix.c @@ -254,7 +254,7 @@ bool run_posix_ls_wildcard_test(int dummy) posix_test_entries_reset(state); printf("Doing POSIX ls *\n"); - state->flavour = LINUX; + state->flavour = POSIX; status = cli_list(cli_unix, "*", 0, posix_ls_fn, state); if (!NT_STATUS_IS_OK(status)) { @@ -470,7 +470,7 @@ bool run_posix_ls_single_test(int dummy) posix_test_entries_reset(state); printf("Doing POSIX ls single\n"); - state->flavour = LINUX; + state->flavour = POSIX; cli_list(cli_unix, file, 0, posix_ls_fn, state); cli_list(cli_unix, symlnk_dangling, 0, posix_ls_fn, state); @@ -564,7 +564,7 @@ bool run_posix_readlink_test(int dummy) frame = talloc_stackframe(); printf("Starting POSIX-READLINK test\n"); - state->flavour = LINUX; + state->flavour = POSIX; if (!torture_open_connection(&cli_unix, 0)) { TALLOC_FREE(frame); @@ -716,7 +716,7 @@ bool run_posix_stat_test(int dummy) frame = talloc_stackframe(); printf("Starting POSIX-STAT test\n"); - state->flavour = LINUX; + state->flavour = POSIX; if (!torture_open_connection(&cli_unix, 0)) { TALLOC_FREE(frame);