diff options
author | Michael Adam <obnox@samba.org> | 2015-03-19 12:47:53 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-03-19 18:02:13 +0100 |
commit | a4f7bc5e39707174007aad901ef095ffb30acf53 (patch) | |
tree | c5b7ef665d8796250982ea7931d0900e8c024a73 /source3/torture/test_messaging_fd_passing.c | |
parent | bf14864e269cdbce98142984552f154e03e79e3e (diff) | |
download | samba-a4f7bc5e39707174007aad901ef095ffb30acf53.tar.gz |
s3:torture: add samba3.smbtorture_s3.LOCAL-MESSAGING-FDPASS2a test.
This variant of the fdpass2 test tests the non-queuing fast path
by sending a message with only a very small payload.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3/torture/test_messaging_fd_passing.c')
-rw-r--r-- | source3/torture/test_messaging_fd_passing.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/torture/test_messaging_fd_passing.c b/source3/torture/test_messaging_fd_passing.c index fec7b2dbe6a..fde5c15e630 100644 --- a/source3/torture/test_messaging_fd_passing.c +++ b/source3/torture/test_messaging_fd_passing.c @@ -377,3 +377,12 @@ bool run_messaging_fdpass2(int dummy) { return run_messaging_fdpass2_int(dummy, 1000*1000); } + +/** + * Variant of the FDPASS2 test that tests the non-queuing fast path + * with a small payload. + */ +bool run_messaging_fdpass2a(int dummy) +{ + return run_messaging_fdpass2_int(dummy, 1); +} |