mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s3:torture: add samba3.smbtorture_s3.LOCAL-MESSAGING-FDPASS2b test.
This variant of the fdpass2 test tests the non-queuing fast path by sumbitting sending a message without payload, only sending the fds. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
a4f7bc5e39
commit
90125e6401
@ -112,6 +112,7 @@ local_tests = [
|
|||||||
"LOCAL-MESSAGING-FDPASS1",
|
"LOCAL-MESSAGING-FDPASS1",
|
||||||
"LOCAL-MESSAGING-FDPASS2",
|
"LOCAL-MESSAGING-FDPASS2",
|
||||||
"LOCAL-MESSAGING-FDPASS2a",
|
"LOCAL-MESSAGING-FDPASS2a",
|
||||||
|
"LOCAL-MESSAGING-FDPASS2b",
|
||||||
"LOCAL-hex_encode_buf",
|
"LOCAL-hex_encode_buf",
|
||||||
"LOCAL-sprintf_append",
|
"LOCAL-sprintf_append",
|
||||||
"LOCAL-remove_duplicate_addrs2"]
|
"LOCAL-remove_duplicate_addrs2"]
|
||||||
|
@ -120,6 +120,7 @@ bool run_messaging_read4(int dummy);
|
|||||||
bool run_messaging_fdpass1(int dummy);
|
bool run_messaging_fdpass1(int dummy);
|
||||||
bool run_messaging_fdpass2(int dummy);
|
bool run_messaging_fdpass2(int dummy);
|
||||||
bool run_messaging_fdpass2a(int dummy);
|
bool run_messaging_fdpass2a(int dummy);
|
||||||
|
bool run_messaging_fdpass2b(int dummy);
|
||||||
bool run_oplock_cancel(int dummy);
|
bool run_oplock_cancel(int dummy);
|
||||||
|
|
||||||
#endif /* __TORTURE_H__ */
|
#endif /* __TORTURE_H__ */
|
||||||
|
@ -386,3 +386,12 @@ bool run_messaging_fdpass2a(int dummy)
|
|||||||
{
|
{
|
||||||
return run_messaging_fdpass2_int(dummy, 1);
|
return run_messaging_fdpass2_int(dummy, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Variant of the FDPASS2 test that tests the non-queuing fast path
|
||||||
|
* without a payload.
|
||||||
|
*/
|
||||||
|
bool run_messaging_fdpass2b(int dummy)
|
||||||
|
{
|
||||||
|
return run_messaging_fdpass2_int(dummy, 0);
|
||||||
|
}
|
||||||
|
@ -9606,6 +9606,7 @@ static struct {
|
|||||||
{ "LOCAL-MESSAGING-FDPASS1", run_messaging_fdpass1, 0 },
|
{ "LOCAL-MESSAGING-FDPASS1", run_messaging_fdpass1, 0 },
|
||||||
{ "LOCAL-MESSAGING-FDPASS2", run_messaging_fdpass2, 0 },
|
{ "LOCAL-MESSAGING-FDPASS2", run_messaging_fdpass2, 0 },
|
||||||
{ "LOCAL-MESSAGING-FDPASS2a", run_messaging_fdpass2a, 0 },
|
{ "LOCAL-MESSAGING-FDPASS2a", run_messaging_fdpass2a, 0 },
|
||||||
|
{ "LOCAL-MESSAGING-FDPASS2b", run_messaging_fdpass2b, 0 },
|
||||||
{ "LOCAL-BASE64", run_local_base64, 0},
|
{ "LOCAL-BASE64", run_local_base64, 0},
|
||||||
{ "LOCAL-RBTREE", run_local_rbtree, 0},
|
{ "LOCAL-RBTREE", run_local_rbtree, 0},
|
||||||
{ "LOCAL-MEMCACHE", run_local_memcache, 0},
|
{ "LOCAL-MEMCACHE", run_local_memcache, 0},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user