]> git.ipfire.org Git - thirdparty/samba.git/commit
smbtorture: fix smb2.notify.mask test
authorRalph Boehme <slow@samba.org>
Wed, 2 Oct 2024 16:17:17 +0000 (18:17 +0200)
committerJule Anger <janger@samba.org>
Thu, 7 Nov 2024 08:18:17 +0000 (08:18 +0000)
commitdca5bd464ddc75e21557e9f4749e533ffa1b3d01
tree1ecc9cc9df450897e47ca54ee9d3c73c1003aaff
parentd61855266933ab972c0c3b8db12353baa399f0aa
smbtorture: fix smb2.notify.mask test

The strange function custom_smb2_create() was somehow causing
NT_STATUS_DELETE_PENDING failures:

  failure: mask [
  (../../source4/torture/smb2/notify.c:490) Incorrect status NT_STATUS_DELETE_PENDING - should be NT_STATUS_OK
  ]

I couldn't figure out what was causing this exactly, but after doing these
cleanups the error went away.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15732

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 4591f27ca81dff997ef7474565fc9c373abfa4a9)
source4/torture/smb2/notify.c