]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbtorture3: Fix POSIX-BLOCKING-LOCK to actually negotiate SMB1+POSIX before...
authorJeremy Allison <jra@samba.org>
Thu, 18 Nov 2021 20:16:44 +0000 (12:16 -0800)
committerRalph Boehme <slow@samba.org>
Sat, 11 Dec 2021 12:03:36 +0000 (12:03 +0000)
This must be done before doing POSIX calls on a connection.

Remove the final entry in knownfail.d/posix_infolevel_fails

    samba3.smbtorture_s3.plain.POSIX-BLOCKING-LOCK.smbtorture\(nt4_dc_smb1\)

And remove the file knownfail.d/posix_infolevel_fails itself.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Dec 11 12:03:36 UTC 2021 on sn-devel-184

selftest/knownfail.d/posix_infolevel_fails [deleted file]
source3/torture/torture.c

diff --git a/selftest/knownfail.d/posix_infolevel_fails b/selftest/knownfail.d/posix_infolevel_fails
deleted file mode 100644 (file)
index bf8a884..0000000
+++ /dev/null
@@ -1 +0,0 @@
-^samba3.smbtorture_s3.plain.POSIX-BLOCKING-LOCK.smbtorture\(nt4_dc_smb1\)
index a68fc63f177d6bd048b7a63d5546fce32db8a966..7e193e3d8aab66e8b714d3cef470de3cf166a7a1 100644 (file)
@@ -8973,6 +8973,11 @@ static bool run_posix_blocking_lock(int dummy)
                return false;
        }
 
+       status = torture_setup_unix_extensions(cli2);
+       if (!NT_STATUS_IS_OK(status)) {
+               return false;
+       }
+
        cli_setatr(cli1, fname, 0, 0);
        cli_posix_unlink(cli1, fname);