diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-08-13 00:14:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:57 -0500 |
commit | 14924a9fe708ef3c183bfbe733afb77fc2ed1274 (patch) | |
tree | bfbe40e3b536c5a67b494f5b7e85f706307a336e /source4/torture/raw | |
parent | 184bb1ab41b023b3953494ffdf0d334a55132d73 (diff) | |
download | samba-14924a9fe708ef3c183bfbe733afb77fc2ed1274.tar.gz samba-14924a9fe708ef3c183bfbe733afb77fc2ed1274.tar.bz2 samba-14924a9fe708ef3c183bfbe733afb77fc2ed1274.zip |
r1795: Fix the multiple session setup torture tests.
Andrew Bartlett
(This used to be commit c4036f218967459c17056f9d27eb95eed3f72dd8)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index 5fd027ef5c..9f4799d883 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -40,7 +40,7 @@ #define CHECK_NOT_VALUE(v, correct) do { \ if ((v) == (correct)) { \ - printf("(%d) Incorrect value %s=%d - should be %d\n", \ + printf("(%d) Incorrect value %s=%d - should not be %d\n", \ __LINE__, #v, v, correct); \ ret = False; \ goto done; \ @@ -106,6 +106,7 @@ static BOOL test_session(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) status = smb_raw_session_setup(session2, mem_ctx, &setup); CHECK_STATUS(status, NT_STATUS_OK); + session2->vuid = setup.generic.out.vuid; printf("vuid1=%d vuid2=%d vuid3=%d\n", cli->session->vuid, session->vuid, session2->vuid); CHECK_NOT_VALUE(session->vuid, session2->vuid); |