mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s4/torture: Ported SMBv1 RAW-STREAMS tests to SMB2-STREAMS
This commit is contained in:
parent
3703890596
commit
0ec8fe420f
@ -25,7 +25,8 @@ TORTURE_SMB2_OBJ_FILES = $(addprefix $(torturesrcdir)/smb2/, \
|
|||||||
lease.o \
|
lease.o \
|
||||||
create.o \
|
create.o \
|
||||||
read.o \
|
read.o \
|
||||||
compound.o)
|
compound.o \
|
||||||
|
streams.o)
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call proto_header_template,$(torturesrcdir)/smb2/proto.h,$(TORTURE_SMB2_OBJ_FILES:.o=.c)))
|
$(eval $(call proto_header_template,$(torturesrcdir)/smb2/proto.h,$(TORTURE_SMB2_OBJ_FILES:.o=.c)))
|
||||||
|
@ -143,6 +143,7 @@ NTSTATUS torture_smb2_init(void)
|
|||||||
torture_suite_add_suite(suite, torture_smb2_lease_init());
|
torture_suite_add_suite(suite, torture_smb2_lease_init());
|
||||||
torture_suite_add_suite(suite, torture_smb2_compound_init());
|
torture_suite_add_suite(suite, torture_smb2_compound_init());
|
||||||
torture_suite_add_suite(suite, torture_smb2_oplocks_init());
|
torture_suite_add_suite(suite, torture_smb2_oplocks_init());
|
||||||
|
torture_suite_add_suite(suite, torture_smb2_streams_init());
|
||||||
torture_suite_add_1smb2_test(suite, "BENCH-OPLOCK", test_smb2_bench_oplock);
|
torture_suite_add_1smb2_test(suite, "BENCH-OPLOCK", test_smb2_bench_oplock);
|
||||||
torture_suite_add_1smb2_test(suite, "HOLD-OPLOCK", test_smb2_hold_oplock);
|
torture_suite_add_1smb2_test(suite, "HOLD-OPLOCK", test_smb2_hold_oplock);
|
||||||
|
|
||||||
|
1767
source4/torture/smb2/streams.c
Normal file
1767
source4/torture/smb2/streams.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user