diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/raw/open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c index 1901338e21..b6979fa0d9 100644 --- a/source4/torture/raw/open.c +++ b/source4/torture/raw/open.c @@ -983,6 +983,7 @@ static bool test_nttrans_create(struct smbcli_state *cli, struct torture_context io.ntcreatex.in.create_options = create_option; status = smb_raw_open(cli->tree, tctx, &io); CHECK_STATUS(status, NT_STATUS_OK); + fnum = io.ntcreatex.out.file.fnum; CHECK_VAL(io.ntcreatex.out.oplock_level, 0); CHECK_VAL(io.ntcreatex.out.create_action, NTCREATEX_ACTION_EXISTED); |