summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
Commit message (Collapse)AuthorAgeFilesLines
* s4: torture: Change torture_register_suite() to add a TALLOC_CTX *.Jeremy Allison2017-05-051-2/+2
| | | | | | | | Change callers to use the passed in TALLOC_CTX * instead of talloc_autofree_context(). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
* lib: modules: Change XXX_init interface from XXX_init(void) to ↵Jeremy Allison2017-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | XXX_init(TALLOC_CTX *) Not currently used - no logic changes inside. This will make it possible to pass down a long-lived talloc context from the loading function for modules to use instead of having them internally all use talloc_autofree_context() which is a hidden global. Updated all known module interface numbers, and added a WHATSNEW. Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
* s4:torture:nbench: fix O3 error unused result of asprintfMichael Adam2016-05-131-1/+5
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org>
* dlist: remove unneeded type argument from DLIST_ADD_END()Michael Adam2016-02-061-2/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:torture: replace shm_setup() with anonymous_shared_allocate()Stefan Metzmacher2012-07-251-1/+1
| | | | metze
* nbench: Fix typo.Jelmer Vernooij2012-03-131-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 13 14:53:07 CET 2012 on sn-devel-104
* s4:torture/nbench/nbench.c - initialise "n"Matthias Dieter Wallnöfer2011-01-121-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Jan 12 20:38:02 CET 2011 on sn-devel-104
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-5/+3
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-161-2/+2
| | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* Change uint_t to unsigned int in source4Matt Kraai2010-02-021-11/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"Matthias Dieter Wallnöfer2009-12-011-2/+3
|
* Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgetsVolker Lendecke2009-11-301-1/+3
|
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-3/+0
| | | | This reduces compile time somewhat.
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-151-1/+1
| | | | | | In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
* s4:torture/nbench: don't use 'new'Stefan Metzmacher2009-02-021-3/+3
| | | | metze
* s4:torture: s/private/private_dataStefan Metzmacher2009-02-021-3/+3
| | | | metze
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* remove a pstringAndrew Tridgell2008-06-021-2/+1
| | | | (This used to be commit 12ecd7f4b8934e3e11e8b6019b92b82a53e55b96)
* Move subunit infrastructure code into lib/torture.Jelmer Vernooij2008-04-271-2/+1
| | | | (This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
* r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij2007-12-212-6/+6
| | | | (This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-102-53/+53
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
* r24728: Use more stock torture functions.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
* r24700: added auto-reconnect to BENCH-NBENCH. Used for testing clusterAndrew Tridgell2007-10-102-108/+394
| | | | | | | failover this is based on a patch from Dmitry Shatrov, with some mods from me (This used to be commit 737be7e2d6cefbdd207629fc2cdd27de83d326b6)
* r24670: Use torture functions for settings.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-102-6/+4
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r23535: accept numeric ntstatus codes in nbench load files (ronnies wiresharkAndrew Tridgell2007-10-101-3/+9
| | | | | script generates numeric codes) (This used to be commit 455895c4b1651bc74f2f64514344d3561a2cd5bb)
* r23534: honour the targetrate even for loadfiles with timestampsAndrew Tridgell2007-10-101-1/+5
| | | | (This used to be commit 24b6aabd11849518f46231358994118a39bb0cb3)
* r23533: added --option torture:targetrate=rate to target a particularAndrew Tridgell2007-10-102-1/+31
| | | | | throughput in MBytes/sec (This used to be commit 35477e8e3d58acce467648f3bd83a43d135caefa)
* r23531: added optional latency reporting in BENCH-NBENCH. To use it, you needAndrew Tridgell2007-10-102-6/+47
| | | | | | | | | | to have a load file that puts a timestamp in the first column. That tells NBENCH to target the same throughput as the capture, and to report the maximum amount of latency miss in the test This allows you to quickly see how many clients you can run with while still meeting a given target (This used to be commit 7f045ca4f5e3e777978cad39ac22f0c611af6b10)
* r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach2007-10-101-1/+1
| | | | | | QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
* r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell2007-10-102-47/+6
| | | | (This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
* r20647: add cluster codeAndrew Tridgell2007-10-102-6/+47
| | | | (This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
* r20302: added support for 64 bit file offsets in NBENCHAndrew Tridgell2007-10-102-5/+10
| | | | (This used to be commit 9a9f18914139370311a13044bde7948a2a901738)
* r20301: add an option torture:readonly which allows the NBENCH test to be runAndrew Tridgell2007-10-101-12/+15
| | | | | | | read only. This is only any use with customer loadfiles, and pre-created data. I'm using this to test performance as a video server, with pre-created video files. (This used to be commit 48a322a9c19f10fa95c1f8092c643d8e10df1303)
* r19510: Make smbtorture's `nprocs' parameter a parametric option.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
* r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
* r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij2007-10-101-3/+13
| | | | | | | | | | | | | | | | | | | output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
* r17930: Merge noinclude branch:Jelmer Vernooij2007-10-101-1/+1
| | | | | | | * Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
* r17785: fix compiler warningsStefan Metzmacher2007-10-101-4/+0
| | | | | metze (This used to be commit 256fc452a46dfe7449c6ebddb75e0801ceae5dc4)
* r17255: fixed BENCH-NBENCH for new smb_raw_find_first() syntaxAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit 7b05c007ea0a8df994af62625b529a164a104903)
* r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
* r16333: Move more code out of the core smbtorture. It now no longerJelmer Vernooij2007-10-101-0/+6
| | | | | contains protocol-specific code. (This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
* r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different ↵Stefan Metzmacher2007-10-101-1/+2
| | | | | | | level metze (This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
* r15033: expanded the RAW-OPLOCK test to include the different cases where theAndrew Tridgell2007-10-101-1/+1
| | | | | | client chooses to break to none or break to level II, when offered a level II break from exclusive (This used to be commit 9a35b14422980fb9a8049058fd30e79d19a1e242)
* r15032: change BENCH-NBENCH to always break to none, rather than accepting aAndrew Tridgell2007-10-101-2/+3
| | | | | levelII break offer from the server. (This used to be commit 7d7853476e03262133093c69f1f93ee02cc87840)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14527: Fix build problems.Jelmer Vernooij2007-10-102-1/+4
| | | | (This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
* r14256: - rename smb_file -> smb_handleStefan Metzmacher2007-10-101-11/+11
| | | | | | | | - move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
* r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell2007-10-101-0/+1
| | | | | | | | metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)