diff options
author | Stefan Metzmacher <metze@samba.org> | 2022-06-28 14:44:51 +0000 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2022-07-05 15:09:35 +0000 |
commit | 090c46a547361b08f1d93d77c0503b9c88179c15 (patch) | |
tree | cc71ded9d0a251d3a108ba6551b0a2290cd403db /source4/torture/smb2/create.c | |
parent | 96a649efd8d4da05c99a67e33a2354d4f2a4ced7 (diff) | |
download | samba-090c46a547361b08f1d93d77c0503b9c88179c15.tar.gz |
s4:torture/smb2: rename 'smb2.bench-oplock' to 'smb2.bench.oplock'
We should have a toplevel 'smb2.bench' suite for all benchmark tests.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source4/torture/smb2/create.c')
-rw-r--r-- | source4/torture/smb2/create.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c index 79fb0af7e08..66b4ccb7945 100644 --- a/source4/torture/smb2/create.c +++ b/source4/torture/smb2/create.c @@ -3163,3 +3163,14 @@ struct torture_suite *torture_smb2_fileid_init(TALLOC_CTX *ctx) return suite; } + +struct torture_suite *torture_smb2_bench_init(TALLOC_CTX *ctx) +{ + struct torture_suite *suite = torture_suite_create(ctx, "bench"); + + torture_suite_add_1smb2_test(suite, "oplock", test_smb2_bench_oplock); + + suite->description = talloc_strdup(suite, "SMB2-BENCH tests"); + + return suite; +} |