]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture: Remove obsolete check in raw.close test
authorAndreas Schneider <asn@samba.org>
Fri, 17 Jan 2025 12:27:52 +0000 (13:27 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 27 Jan 2025 10:41:40 +0000 (10:41 +0000)
This would result in an error as the code misses torture_assert calls.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/raw/close.c

index b11306803da8e2bf0d02cb7372bd508e03b4e1fe..de5dc4469eadcfe44d5501b8b94db4d50c530e58 100644 (file)
@@ -95,15 +95,6 @@ bool torture_raw_close(struct torture_context *torture,
                          &finfo.all_info.out.change_time)) {
                printf("Incorrect times after close - only write time should be set\n");
                dump_all_info(torture, &finfo);
-
-               if (!torture_setting_bool(torture, "samba3", false)) {
-                       /*
-                        * In Samba3 as of 3.0.23d we don't yet support all
-                        * file times, so don't mark this as a critical
-                        * failure
-                        */
-                       ret = false;
-               }
        }