]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture: Add missing CHECK_STATUS() in test_stream_io()
authorAndreas Schneider <asn@samba.org>
Fri, 14 Nov 2025 09:34:22 +0000 (10:34 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 16 Jun 2026 11:38:33 +0000 (11:38 +0000)
Reviewed-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
source4/torture/smb2/streams.c

index fc7fba50a897e97c15b8b81b99874d0d743ad6cf..f78e1a6f72b9c39701d91e90c843ee7b6f8b8f68 100644 (file)
@@ -443,6 +443,7 @@ static bool test_stream_io(struct torture_context *tctx,
        io.smb2.in.fname = fname;
        io.smb2.in.create_disposition = NTCREATEX_DISP_OPEN;
        status = smb2_create(tree, mem_ctx, &(io.smb2));
+       CHECK_STATUS(status, NT_STATUS_OK);
        h2 = io.smb2.out.file.handle;
        check_stream_list(tree,tctx, fname, 1, one, h2);
        smb2_util_close(tree, h2);