diff options
Diffstat (limited to 'source4/torture/raw/notify.c')
-rw-r--r-- | source4/torture/raw/notify.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index 402974cb66..cac4b46e07 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -1694,9 +1694,9 @@ static bool test_notify_alignment(struct smbcli_state *cli, /* basic testing of change notify */ -bool torture_raw_notify(struct torture_context *torture, - struct smbcli_state *cli, - struct smbcli_state *cli2) +static bool test_raw_notify_all(struct torture_context *torture, + struct smbcli_state *cli, + struct smbcli_state *cli2) { bool ret = true; @@ -1724,3 +1724,12 @@ bool torture_raw_notify(struct torture_context *torture, smbcli_deltree(cli->tree, BASEDIR); return ret; } + +struct torture_suite *torture_raw_notify(TALLOC_CTX *mem_ctx) +{ + struct torture_suite *suite = torture_suite_create(mem_ctx, "notify"); + + torture_suite_add_2smb_test(suite, "all", test_raw_notify_all); + + return suite; +} |