Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jul 2008 01:27:23 +0000 (11:27 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jul 2008 01:27:23 +0000 (11:27 +1000)
source/torture/raw/open.c

index 1901338e21c6c408579358c117a3f46b14f9db39..b6979fa0d9868d6320abbe6c34ab00b11902e5a5 100644 (file)
@@ -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);