diff options
author | Michael Adam <obnox@samba.org> | 2016-03-01 01:14:48 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2016-03-03 13:09:23 +0100 |
commit | 9ebf079b00b642c5df47fecffc3ff1fc96525235 (patch) | |
tree | ac63d2460ade0c3d165d54f9f939f2e72c3c53ad /source4/torture/smb2/replay.c | |
parent | 8e870dd121f82f359abfdc456c015b096094a1fb (diff) | |
download | samba-9ebf079b00b642c5df47fecffc3ff1fc96525235.tar.gz |
torture:smb2: rename replay1 -> replay-commands
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/smb2/replay.c')
-rw-r--r-- | source4/torture/smb2/replay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smb2/replay.c b/source4/torture/smb2/replay.c index 21f6f80fc26..cef682ae0bb 100644 --- a/source4/torture/smb2/replay.c +++ b/source4/torture/smb2/replay.c @@ -161,7 +161,7 @@ static bool torture_oplock_ack_handler(struct smb2_transport *transport, * Test what happens when SMB2_FLAGS_REPLAY_OPERATION is enabled for various * commands. We want to verify if the server returns an error code or not. */ -static bool test_replay1(struct torture_context *tctx, struct smb2_tree *tree) +static bool test_replay_commands(struct torture_context *tctx, struct smb2_tree *tree) { bool ret = true; NTSTATUS status; @@ -175,7 +175,7 @@ static bool test_replay1(struct torture_context *tctx, struct smb2_tree *tree) struct smb2_lock_element el[2]; struct smb2_flush f; TALLOC_CTX *tmp_ctx = talloc_new(tree); - const char *fname = BASEDIR "\\replay1.dat"; + const char *fname = BASEDIR "\\replay_commands.dat"; struct smb2_transport *transport = tree->session->transport; if (smbXcli_conn_protocol(transport->conn) < PROTOCOL_SMB3_00) { @@ -997,7 +997,7 @@ struct torture_suite *torture_smb2_replay_init(void) struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "replay"); - torture_suite_add_1smb2_test(suite, "replay1", test_replay1); + torture_suite_add_1smb2_test(suite, "replay-commands", test_replay_commands); torture_suite_add_1smb2_test(suite, "replay2", test_replay2); torture_suite_add_1smb2_test(suite, "replay3", test_replay3); torture_suite_add_1smb2_test(suite, "replay4", test_replay4); |