From 090c46a547361b08f1d93d77c0503b9c88179c15 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 28 Jun 2022 14:44:51 +0000 Subject: 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 Reviewed-by: Ralph Boehme --- source4/torture/smb2/create.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source4/torture/smb2/create.c') 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; +} -- cgit v1.2.1