]> 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)
committerRalph Boehme <slow@samba.org>
Mon, 14 Oct 2024 11:09:34 +0000 (11:09 +0000)
commit4591f27ca81dff997ef7474565fc9c373abfa4a9
tree6eda872f5c047cfdc29dbf3acff7fc8380104382
parentf88e52a6f487a216dbb805fabc08e862abb9b643
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>
source4/torture/smb2/notify.c