diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-11 04:46:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:09 -0500 |
commit | 686070a147531ac704730eb1b5b6857b5cfc92bb (patch) | |
tree | 610fa337213357c0910dc589ec5c1624cc3633fb /source4/torture/torture.c | |
parent | ac293f85342a77777c2164a53c8ec43ddc1c1aed (diff) | |
download | samba-686070a147531ac704730eb1b5b6857b5cfc92bb.tar.gz samba-686070a147531ac704730eb1b5b6857b5cfc92bb.tar.bz2 samba-686070a147531ac704730eb1b5b6857b5cfc92bb.zip |
r11663: start of a SMB2 torture test. Just does a negprot and prints some fields for now.
test name is SMB2-CONNECT
(This used to be commit 13f27fadca2f74a2486caa7df0fc7662fca16f67)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r-- | source4/torture/torture.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index ed09ddb213..869ff8926d 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -902,7 +902,6 @@ static BOOL run_negprot_nowait(void) for (i=0;i<1000;i++) { struct smbcli_request *req; - time_t t1 = time(NULL); req = smb_raw_negotiate_send(cli->transport, PROTOCOL_NT1); smbcli_transport_process(cli->transport); if (req->state == SMBCLI_REQUEST_ERROR) { @@ -2252,6 +2251,9 @@ static struct { {"RAW-RAP", torture_raw_rap, 0}, {"RAW-COMPOSITE", torture_raw_composite, 0}, + /* SMB2 tests */ + {"SMB2-CONNECT", torture_smb2_connect, 0}, + /* protocol scanners */ {"SCAN-TRANS2", torture_trans2_scan, 0}, {"SCAN-NTTRANS", torture_nttrans_scan, 0}, |