2 Unix SMB/CIFS implementation.
4 test suite for SMB2 compounded requests
6 Copyright (C) Stefan Metzmacher 2009
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #include "libcli/smb2/smb2.h"
24 #include "libcli/smb2/smb2_calls.h"
25 #include "torture/torture.h"
26 #include "torture/smb2/proto.h"
28 #define CHECK_STATUS(status, correct) do { \
29 if (!NT_STATUS_EQUAL(status, correct)) { \
30 torture_result(tctx, TORTURE_FAIL, __location__": Incorrect status %s - should be %s", \
31 nt_errstr(status), nt_errstr(correct)); \
36 #define TARGET_IS_W2K8(_tctx) (torture_setting_bool(_tctx, "w2k8", false))
37 #define TARGET_IS_WIN7(_tctx) (torture_setting_bool(_tctx, "win7", false))
39 static bool test_compound_related1(struct torture_context
*tctx
,
40 struct smb2_tree
*tree
)
42 struct smb2_handle hd
;
43 struct smb2_create cr
;
45 const char *fname
= "compound_related1.dat";
48 struct smb2_request
*req
[2];
50 smb2_transport_credits_ask_num(tree
->session
->transport
, 2);
52 smb2_util_unlink(tree
, fname
);
54 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
57 cr
.in
.security_flags
= 0x00;
58 cr
.in
.oplock_level
= 0;
59 cr
.in
.impersonation_level
= NTCREATEX_IMPERSONATION_IMPERSONATION
;
60 cr
.in
.create_flags
= 0x00000000;
61 cr
.in
.reserved
= 0x00000000;
62 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
63 cr
.in
.file_attributes
= FILE_ATTRIBUTE_NORMAL
;
64 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
65 NTCREATEX_SHARE_ACCESS_WRITE
|
66 NTCREATEX_SHARE_ACCESS_DELETE
;
67 cr
.in
.create_disposition
= NTCREATEX_DISP_OPEN_IF
;
68 cr
.in
.create_options
= NTCREATEX_OPTIONS_SEQUENTIAL_ONLY
|
69 NTCREATEX_OPTIONS_ASYNC_ALERT
|
70 NTCREATEX_OPTIONS_NON_DIRECTORY_FILE
|
74 smb2_transport_compound_start(tree
->session
->transport
, 2);
76 req
[0] = smb2_create_send(tree
, &cr
);
78 smb2_transport_compound_set_related(tree
->session
->transport
, true);
80 hd
.data
[0] = UINT64_MAX
;
81 hd
.data
[1] = UINT64_MAX
;
84 cl
.in
.file
.handle
= hd
;
85 req
[1] = smb2_close_send(tree
, &cl
);
87 status
= smb2_create_recv(req
[0], tree
, &cr
);
88 CHECK_STATUS(status
, NT_STATUS_OK
);
89 status
= smb2_close_recv(req
[1], &cl
);
90 CHECK_STATUS(status
, NT_STATUS_OK
);
92 smb2_util_unlink(tree
, fname
);
97 static bool test_compound_related2(struct torture_context
*tctx
,
98 struct smb2_tree
*tree
)
100 struct smb2_handle hd
;
101 struct smb2_create cr
;
103 const char *fname
= "compound_related2.dat";
104 struct smb2_close cl
;
106 struct smb2_request
*req
[5];
108 smb2_transport_credits_ask_num(tree
->session
->transport
, 5);
110 smb2_util_unlink(tree
, fname
);
112 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
115 cr
.in
.security_flags
= 0x00;
116 cr
.in
.oplock_level
= 0;
117 cr
.in
.impersonation_level
= NTCREATEX_IMPERSONATION_IMPERSONATION
;
118 cr
.in
.create_flags
= 0x00000000;
119 cr
.in
.reserved
= 0x00000000;
120 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
121 cr
.in
.file_attributes
= FILE_ATTRIBUTE_NORMAL
;
122 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
123 NTCREATEX_SHARE_ACCESS_WRITE
|
124 NTCREATEX_SHARE_ACCESS_DELETE
;
125 cr
.in
.create_disposition
= NTCREATEX_DISP_OPEN_IF
;
126 cr
.in
.create_options
= NTCREATEX_OPTIONS_SEQUENTIAL_ONLY
|
127 NTCREATEX_OPTIONS_ASYNC_ALERT
|
128 NTCREATEX_OPTIONS_NON_DIRECTORY_FILE
|
132 smb2_transport_compound_start(tree
->session
->transport
, 5);
134 req
[0] = smb2_create_send(tree
, &cr
);
136 hd
.data
[0] = UINT64_MAX
;
137 hd
.data
[1] = UINT64_MAX
;
139 smb2_transport_compound_set_related(tree
->session
->transport
, true);
142 cl
.in
.file
.handle
= hd
;
143 req
[1] = smb2_close_send(tree
, &cl
);
144 req
[2] = smb2_close_send(tree
, &cl
);
145 req
[3] = smb2_close_send(tree
, &cl
);
146 req
[4] = smb2_close_send(tree
, &cl
);
148 status
= smb2_create_recv(req
[0], tree
, &cr
);
149 CHECK_STATUS(status
, NT_STATUS_OK
);
150 status
= smb2_close_recv(req
[1], &cl
);
151 CHECK_STATUS(status
, NT_STATUS_OK
);
152 status
= smb2_close_recv(req
[2], &cl
);
153 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
154 status
= smb2_close_recv(req
[3], &cl
);
155 CHECK_STATUS(status
, NT_STATUS_INVALID_PARAMETER
);
156 status
= smb2_close_recv(req
[4], &cl
);
157 CHECK_STATUS(status
, NT_STATUS_INVALID_PARAMETER
);
159 smb2_util_unlink(tree
, fname
);
164 static bool test_compound_unrelated1(struct torture_context
*tctx
,
165 struct smb2_tree
*tree
)
167 struct smb2_handle hd
;
168 struct smb2_create cr
;
170 const char *fname
= "compound_unrelated1.dat";
171 struct smb2_close cl
;
173 struct smb2_request
*req
[5];
175 smb2_transport_credits_ask_num(tree
->session
->transport
, 5);
177 smb2_util_unlink(tree
, fname
);
179 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
182 cr
.in
.security_flags
= 0x00;
183 cr
.in
.oplock_level
= 0;
184 cr
.in
.impersonation_level
= NTCREATEX_IMPERSONATION_IMPERSONATION
;
185 cr
.in
.create_flags
= 0x00000000;
186 cr
.in
.reserved
= 0x00000000;
187 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
188 cr
.in
.file_attributes
= FILE_ATTRIBUTE_NORMAL
;
189 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
190 NTCREATEX_SHARE_ACCESS_WRITE
|
191 NTCREATEX_SHARE_ACCESS_DELETE
;
192 cr
.in
.create_disposition
= NTCREATEX_DISP_OPEN_IF
;
193 cr
.in
.create_options
= NTCREATEX_OPTIONS_SEQUENTIAL_ONLY
|
194 NTCREATEX_OPTIONS_ASYNC_ALERT
|
195 NTCREATEX_OPTIONS_NON_DIRECTORY_FILE
|
199 smb2_transport_compound_start(tree
->session
->transport
, 5);
201 req
[0] = smb2_create_send(tree
, &cr
);
203 hd
.data
[0] = UINT64_MAX
;
204 hd
.data
[1] = UINT64_MAX
;
207 cl
.in
.file
.handle
= hd
;
208 req
[1] = smb2_close_send(tree
, &cl
);
209 req
[2] = smb2_close_send(tree
, &cl
);
210 req
[3] = smb2_close_send(tree
, &cl
);
211 req
[4] = smb2_close_send(tree
, &cl
);
213 status
= smb2_create_recv(req
[0], tree
, &cr
);
214 CHECK_STATUS(status
, NT_STATUS_OK
);
215 status
= smb2_close_recv(req
[1], &cl
);
216 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
217 status
= smb2_close_recv(req
[2], &cl
);
218 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
219 status
= smb2_close_recv(req
[3], &cl
);
220 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
221 status
= smb2_close_recv(req
[4], &cl
);
222 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
224 smb2_util_unlink(tree
, fname
);
229 static bool test_compound_invalid1(struct torture_context
*tctx
,
230 struct smb2_tree
*tree
)
232 struct smb2_handle hd
;
233 struct smb2_create cr
;
235 const char *fname
= "compound_invalid1.dat";
236 struct smb2_close cl
;
238 struct smb2_request
*req
[2];
240 smb2_transport_credits_ask_num(tree
->session
->transport
, 2);
242 smb2_util_unlink(tree
, fname
);
244 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
247 cr
.in
.security_flags
= 0x00;
248 cr
.in
.oplock_level
= 0;
249 cr
.in
.impersonation_level
= NTCREATEX_IMPERSONATION_IMPERSONATION
;
250 cr
.in
.create_flags
= 0x00000000;
251 cr
.in
.reserved
= 0x00000000;
252 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
253 cr
.in
.file_attributes
= FILE_ATTRIBUTE_NORMAL
;
254 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
255 NTCREATEX_SHARE_ACCESS_WRITE
|
256 NTCREATEX_SHARE_ACCESS_DELETE
;
257 cr
.in
.create_disposition
= NTCREATEX_DISP_OPEN_IF
;
258 cr
.in
.create_options
= NTCREATEX_OPTIONS_SEQUENTIAL_ONLY
|
259 NTCREATEX_OPTIONS_ASYNC_ALERT
|
260 NTCREATEX_OPTIONS_NON_DIRECTORY_FILE
|
264 smb2_transport_compound_start(tree
->session
->transport
, 2);
266 /* passing the first request with the related flag is invalid */
267 smb2_transport_compound_set_related(tree
->session
->transport
, true);
269 req
[0] = smb2_create_send(tree
, &cr
);
271 hd
.data
[0] = UINT64_MAX
;
272 hd
.data
[1] = UINT64_MAX
;
275 cl
.in
.file
.handle
= hd
;
276 req
[1] = smb2_close_send(tree
, &cl
);
278 status
= smb2_create_recv(req
[0], tree
, &cr
);
279 /* TODO: check why this fails with --signing=required */
280 CHECK_STATUS(status
, NT_STATUS_INVALID_PARAMETER
);
281 status
= smb2_close_recv(req
[1], &cl
);
282 CHECK_STATUS(status
, NT_STATUS_INVALID_PARAMETER
);
284 smb2_util_unlink(tree
, fname
);
289 static bool test_compound_invalid2(struct torture_context
*tctx
,
290 struct smb2_tree
*tree
)
292 struct smb2_handle hd
;
293 struct smb2_create cr
;
295 const char *fname
= "compound_invalid2.dat";
296 struct smb2_close cl
;
298 struct smb2_request
*req
[5];
300 smb2_transport_credits_ask_num(tree
->session
->transport
, 5);
302 smb2_util_unlink(tree
, fname
);
304 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
307 cr
.in
.security_flags
= 0x00;
308 cr
.in
.oplock_level
= 0;
309 cr
.in
.impersonation_level
= NTCREATEX_IMPERSONATION_IMPERSONATION
;
310 cr
.in
.create_flags
= 0x00000000;
311 cr
.in
.reserved
= 0x00000000;
312 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
313 cr
.in
.file_attributes
= FILE_ATTRIBUTE_NORMAL
;
314 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
315 NTCREATEX_SHARE_ACCESS_WRITE
|
316 NTCREATEX_SHARE_ACCESS_DELETE
;
317 cr
.in
.create_disposition
= NTCREATEX_DISP_OPEN_IF
;
318 cr
.in
.create_options
= NTCREATEX_OPTIONS_SEQUENTIAL_ONLY
|
319 NTCREATEX_OPTIONS_ASYNC_ALERT
|
320 NTCREATEX_OPTIONS_NON_DIRECTORY_FILE
|
324 smb2_transport_compound_start(tree
->session
->transport
, 5);
326 req
[0] = smb2_create_send(tree
, &cr
);
328 hd
.data
[0] = UINT64_MAX
;
329 hd
.data
[1] = UINT64_MAX
;
331 smb2_transport_compound_set_related(tree
->session
->transport
, true);
334 cl
.in
.file
.handle
= hd
;
335 req
[1] = smb2_close_send(tree
, &cl
);
336 /* strange that this is not generating invalid parameter */
337 smb2_transport_compound_set_related(tree
->session
->transport
, false);
338 req
[2] = smb2_close_send(tree
, &cl
);
339 req
[3] = smb2_close_send(tree
, &cl
);
340 smb2_transport_compound_set_related(tree
->session
->transport
, true);
341 req
[4] = smb2_close_send(tree
, &cl
);
343 status
= smb2_create_recv(req
[0], tree
, &cr
);
344 CHECK_STATUS(status
, NT_STATUS_OK
);
345 status
= smb2_close_recv(req
[1], &cl
);
346 CHECK_STATUS(status
, NT_STATUS_OK
);
347 status
= smb2_close_recv(req
[2], &cl
);
348 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
349 status
= smb2_close_recv(req
[3], &cl
);
350 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
351 status
= smb2_close_recv(req
[4], &cl
);
352 CHECK_STATUS(status
, NT_STATUS_INVALID_PARAMETER
);
354 smb2_util_unlink(tree
, fname
);
359 static bool test_compound_invalid3(struct torture_context
*tctx
,
360 struct smb2_tree
*tree
)
362 struct smb2_handle hd
;
363 struct smb2_create cr
;
365 const char *fname
= "compound_invalid3.dat";
366 struct smb2_close cl
;
368 struct smb2_request
*req
[5];
370 smb2_transport_credits_ask_num(tree
->session
->transport
, 5);
372 smb2_util_unlink(tree
, fname
);
374 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
377 cr
.in
.security_flags
= 0x00;
378 cr
.in
.oplock_level
= 0;
379 cr
.in
.impersonation_level
= NTCREATEX_IMPERSONATION_IMPERSONATION
;
380 cr
.in
.create_flags
= 0x00000000;
381 cr
.in
.reserved
= 0x00000000;
382 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
383 cr
.in
.file_attributes
= FILE_ATTRIBUTE_NORMAL
;
384 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
385 NTCREATEX_SHARE_ACCESS_WRITE
|
386 NTCREATEX_SHARE_ACCESS_DELETE
;
387 cr
.in
.create_disposition
= NTCREATEX_DISP_OPEN_IF
;
388 cr
.in
.create_options
= NTCREATEX_OPTIONS_SEQUENTIAL_ONLY
|
389 NTCREATEX_OPTIONS_ASYNC_ALERT
|
390 NTCREATEX_OPTIONS_NON_DIRECTORY_FILE
|
394 smb2_transport_compound_start(tree
->session
->transport
, 5);
396 req
[0] = smb2_create_send(tree
, &cr
);
398 hd
.data
[0] = UINT64_MAX
;
399 hd
.data
[1] = UINT64_MAX
;
402 cl
.in
.file
.handle
= hd
;
403 req
[1] = smb2_close_send(tree
, &cl
);
404 req
[2] = smb2_close_send(tree
, &cl
);
405 /* flipping the related flag is invalid */
406 smb2_transport_compound_set_related(tree
->session
->transport
, true);
407 req
[3] = smb2_close_send(tree
, &cl
);
408 req
[4] = smb2_close_send(tree
, &cl
);
410 status
= smb2_create_recv(req
[0], tree
, &cr
);
411 CHECK_STATUS(status
, NT_STATUS_OK
);
412 status
= smb2_close_recv(req
[1], &cl
);
413 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
414 status
= smb2_close_recv(req
[2], &cl
);
415 CHECK_STATUS(status
, NT_STATUS_FILE_CLOSED
);
416 status
= smb2_close_recv(req
[3], &cl
);
417 CHECK_STATUS(status
, NT_STATUS_INVALID_PARAMETER
);
418 status
= smb2_close_recv(req
[4], &cl
);
419 CHECK_STATUS(status
, NT_STATUS_INVALID_PARAMETER
);
421 smb2_util_unlink(tree
, fname
);
426 /* Send a compound request where we expect the last request (Create, Notify)
427 * to go asynchronous. This works against a Win7 server and the reply is
428 * sent in two different packets. */
429 static bool test_compound_interim1(struct torture_context
*tctx
,
430 struct smb2_tree
*tree
)
432 struct smb2_handle hd
;
433 struct smb2_create cr
;
434 NTSTATUS status
= NT_STATUS_OK
;
435 const char *dname
= "compound_interim_dir";
436 struct smb2_notify nt
;
438 struct smb2_request
*req
[2];
440 /* Win7 compound request implementation deviates substantially from the
441 * SMB2 spec as noted in MS-SMB2 <159>, <162>. This, test currently
442 * verifies the Windows behavior, not the general spec behavior. */
443 if (!TARGET_IS_WIN7(tctx
) && !TARGET_IS_W2K8(tctx
)) {
444 torture_skip(tctx
, "Interim test is specific to Windows server "
448 smb2_transport_credits_ask_num(tree
->session
->transport
, 5);
450 smb2_deltree(tree
, dname
);
452 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
455 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
456 cr
.in
.create_options
= NTCREATEX_OPTIONS_DIRECTORY
;
457 cr
.in
.file_attributes
= FILE_ATTRIBUTE_DIRECTORY
;
458 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
459 NTCREATEX_SHARE_ACCESS_WRITE
|
460 NTCREATEX_SHARE_ACCESS_DELETE
;
461 cr
.in
.create_disposition
= NTCREATEX_DISP_CREATE
;
464 smb2_transport_compound_start(tree
->session
->transport
, 2);
466 req
[0] = smb2_create_send(tree
, &cr
);
468 smb2_transport_compound_set_related(tree
->session
->transport
, true);
470 hd
.data
[0] = UINT64_MAX
;
471 hd
.data
[1] = UINT64_MAX
;
474 nt
.in
.recursive
= true;
475 nt
.in
.buffer_size
= 0x1000;
476 nt
.in
.file
.handle
= hd
;
477 nt
.in
.completion_filter
= FILE_NOTIFY_CHANGE_NAME
;
478 nt
.in
.unknown
= 0x00000000;
480 req
[1] = smb2_notify_send(tree
, &nt
);
482 status
= smb2_create_recv(req
[0], tree
, &cr
);
483 CHECK_STATUS(status
, NT_STATUS_OK
);
486 status
= smb2_notify_recv(req
[1], tree
, &nt
);
487 CHECK_STATUS(status
, NT_STATUS_CANCELLED
);
489 smb2_util_close(tree
, cr
.out
.file
.handle
);
491 smb2_deltree(tree
, dname
);
496 /* Send a compound request where we expect the middle request (Create, Notify,
497 * GetInfo) to go asynchronous. Against Win7 the sync request succeed while
498 * the async fails. All are returned in the same compound response. */
499 static bool test_compound_interim2(struct torture_context
*tctx
,
500 struct smb2_tree
*tree
)
502 struct smb2_handle hd
;
503 struct smb2_create cr
;
504 NTSTATUS status
= NT_STATUS_OK
;
505 const char *dname
= "compound_interim_dir";
506 struct smb2_getinfo gf
;
507 struct smb2_notify nt
;
509 struct smb2_request
*req
[3];
511 /* Win7 compound request implementation deviates substantially from the
512 * SMB2 spec as noted in MS-SMB2 <159>, <162>. This, test currently
513 * verifies the Windows behavior, not the general spec behavior. */
514 if (!TARGET_IS_WIN7(tctx
) && !TARGET_IS_W2K8(tctx
)) {
515 torture_skip(tctx
, "Interim test is specific to Windows server "
519 smb2_transport_credits_ask_num(tree
->session
->transport
, 5);
521 smb2_deltree(tree
, dname
);
523 smb2_transport_credits_ask_num(tree
->session
->transport
, 1);
526 cr
.in
.desired_access
= SEC_RIGHTS_FILE_ALL
;
527 cr
.in
.create_options
= NTCREATEX_OPTIONS_DIRECTORY
;
528 cr
.in
.file_attributes
= FILE_ATTRIBUTE_DIRECTORY
;
529 cr
.in
.share_access
= NTCREATEX_SHARE_ACCESS_READ
|
530 NTCREATEX_SHARE_ACCESS_WRITE
|
531 NTCREATEX_SHARE_ACCESS_DELETE
;
532 cr
.in
.create_disposition
= NTCREATEX_DISP_CREATE
;
535 smb2_transport_compound_start(tree
->session
->transport
, 3);
537 req
[0] = smb2_create_send(tree
, &cr
);
539 smb2_transport_compound_set_related(tree
->session
->transport
, true);
541 hd
.data
[0] = UINT64_MAX
;
542 hd
.data
[1] = UINT64_MAX
;
545 nt
.in
.recursive
= true;
546 nt
.in
.buffer_size
= 0x1000;
547 nt
.in
.file
.handle
= hd
;
548 nt
.in
.completion_filter
= FILE_NOTIFY_CHANGE_NAME
;
549 nt
.in
.unknown
= 0x00000000;
551 req
[1] = smb2_notify_send(tree
, &nt
);
554 gf
.in
.file
.handle
= hd
;
555 gf
.in
.info_type
= SMB2_GETINFO_FILE
;
556 gf
.in
.info_class
= 0x04; // FILE_BASIC_INFORMATION
557 gf
.in
.output_buffer_length
= 0x1000;
558 gf
.in
.input_buffer_length
= 0;
560 req
[2] = smb2_getinfo_send(tree
, &gf
);
562 status
= smb2_create_recv(req
[0], tree
, &cr
);
563 CHECK_STATUS(status
, NT_STATUS_OK
);
565 status
= smb2_notify_recv(req
[1], tree
, &nt
);
566 CHECK_STATUS(status
, NT_STATUS_INTERNAL_ERROR
);
568 status
= smb2_getinfo_recv(req
[2], tree
, &gf
);
569 CHECK_STATUS(status
, NT_STATUS_OK
);
571 smb2_util_close(tree
, cr
.out
.file
.handle
);
573 smb2_deltree(tree
, dname
);
578 struct torture_suite
*torture_smb2_compound_init(void)
580 struct torture_suite
*suite
=
581 torture_suite_create(talloc_autofree_context(), "COMPOUND");
583 torture_suite_add_1smb2_test(suite
, "RELATED1", test_compound_related1
);
584 torture_suite_add_1smb2_test(suite
, "RELATED2", test_compound_related2
);
585 torture_suite_add_1smb2_test(suite
, "UNRELATED1", test_compound_unrelated1
);
586 torture_suite_add_1smb2_test(suite
, "INVALID1", test_compound_invalid1
);
587 torture_suite_add_1smb2_test(suite
, "INVALID2", test_compound_invalid2
);
588 torture_suite_add_1smb2_test(suite
, "INVALID3", test_compound_invalid3
);
589 torture_suite_add_1smb2_test(suite
, "INTERIM1", test_compound_interim1
);
590 torture_suite_add_1smb2_test(suite
, "INTERIM2", test_compound_interim2
);
592 suite
->description
= talloc_strdup(suite
, "SMB2-COMPOUND tests");