]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
torture3: Correct use of enum client_flavour defines
authorVolker Lendecke <vl@samba.org>
Thu, 9 Nov 2023 15:23:49 +0000 (16:23 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 10 Nov 2023 02:33:33 +0000 (02:33 +0000)
enum client_flavour does not define LINUX, it defines WINDOWS and
POSIX.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Nov 10 02:33:33 UTC 2023 on atb-devel-224

source3/torture/test_posix.c

index ac4c1a1cb34c22a37f0ffc610963f15c240eaad4..ca403360153cad1b751833a1157742b1076c97c8 100644 (file)
@@ -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);