Stefan Metzmacher
03ed70c9f3
s4:torture/nbench: don't use 'new'
...
metze
2009-02-02 13:09:19 +01:00
Stefan Metzmacher
ab7f003aad
s4:torture: s/private/private_data
...
metze
2009-02-02 13:08:38 +01:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Andrew Tridgell
fa327874bb
remove a pstring
...
(This used to be commit 12ecd7f4b8
)
2008-06-02 11:04:46 +10:00
Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121d
)
2008-04-27 14:02:46 +01:00
Jelmer Vernooij
0a2f1a46a0
r26249: Remove a couple more uses of global_loadparm.
...
(This used to be commit 80a6120050
)
2007-12-21 05:47:27 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
cd962355ab
r25000: Fix some more C++ compatibility warnings.
...
(This used to be commit 08bb1ef643
)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
2fefa818a9
r24728: Use more stock torture functions.
...
(This used to be commit da3a7ee407
)
2007-10-10 15:02:58 -05:00
Andrew Tridgell
e56566f3df
r24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
...
failover
this is based on a patch from Dmitry Shatrov, with some mods from me
(This used to be commit 737be7e2d6
)
2007-10-10 15:02:50 -05:00
Jelmer Vernooij
d981c69a18
r24670: Use torture functions for settings.
...
(This used to be commit a690667630
)
2007-10-10 15:02:36 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
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 fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
dc4f1f6754
r23535: accept numeric ntstatus codes in nbench load files (ronnies wireshark
...
script generates numeric codes)
(This used to be commit 455895c4b1
)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
551575012b
r23534: honour the targetrate even for loadfiles with timestamps
...
(This used to be commit 24b6aabd11
)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
2a3282f872
r23533: added --option torture:targetrate=rate to target a particular
...
throughput in MBytes/sec
(This used to be commit 35477e8e3d
)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
428373743a
r23531: added optional latency reporting in BENCH-NBENCH. To use it, you need
...
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 7f045ca4f5
)
2007-10-10 14:53:24 -05:00
James Peach
754d416ea5
r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
...
QueryPath and FindFirst calls. Add a new torture test to verify the
server side.
(This used to be commit 7f56da2d1f
)
2007-10-10 14:49:16 -05:00
Andrew Tridgell
1c211a2e43
r20650: revert a bunch of code I didn't mean to commit yet
...
(This used to be commit b3e2d49087
)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
f6274959ba
r20647: add cluster code
...
(This used to be commit 5870830b99
)
2007-10-10 14:37:24 -05:00
Andrew Tridgell
c4274fee71
r20302: added support for 64 bit file offsets in NBENCH
...
(This used to be commit 9a9f189141
)
2007-10-10 14:29:35 -05:00
Andrew Tridgell
114265b4d5
r20301: add an option torture:readonly which allows the NBENCH test to be run
...
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 48a322a9c1
)
2007-10-10 14:29:35 -05:00
Jelmer Vernooij
108de297a7
r19510: Make smbtorture's `nprocs' parameter a parametric option.
...
(This used to be commit f5d6b3ca29
)
2007-10-10 14:24:42 -05:00
Jelmer Vernooij
a39f239cb2
r19392: Use torture_setting_* rather than lp_parm_* where possible.
...
(This used to be commit b28860978f
)
2007-10-10 14:21:24 -05:00
Jelmer Vernooij
8773e743c5
r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
...
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 0eb6097305
)
2007-10-10 14:21:12 -05:00
Jelmer Vernooij
0329d755a7
r17930: Merge noinclude branch:
...
* 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 f7afa1cb77
)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
46cdf9250b
r17785: fix compiler warnings
...
metze
(This used to be commit 256fc452a4
)
2007-10-10 14:16:42 -05:00
Andrew Tridgell
bbc185729b
r17255: fixed BENCH-NBENCH for new smb_raw_find_first() syntax
...
(This used to be commit 7b05c007ea
)
2007-10-10 14:10:24 -05:00
Volker Lendecke
b7c5bc522b
r16907: Add an index parameter to torture_open_connection. Next step is to enable the
...
unclist parameter for all tests that do two connections, to enable cluster
testing.
Volker
(This used to be commit a5d6db0924
)
2007-10-10 14:09:58 -05:00
Jelmer Vernooij
845df42a19
r16333: Move more code out of the core smbtorture. It now no longer
...
contains protocol-specific code.
(This used to be commit 819d3b4576
)
2007-10-10 14:09:11 -05:00
Stefan Metzmacher
7f0e17e903
r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
...
metze
(This used to be commit 95bf41b4d4
)
2007-10-10 14:08:09 -05:00
Andrew Tridgell
970f7122d9
r15033: expanded the RAW-OPLOCK test to include the different cases where the
...
client chooses to break to none or break to level II, when offered a
level II break from exclusive
(This used to be commit 9a35b14422
)
2007-10-10 14:04:02 -05:00
Andrew Tridgell
84e00add26
r15032: change BENCH-NBENCH to always break to none, rather than accepting a
...
levelII break offer from the server.
(This used to be commit 7d7853476e
)
2007-10-10 14:04:02 -05:00
Jelmer Vernooij
909b111f58
r14720: Add torture_context argument to all torture tests
...
(This used to be commit 3c7a5ce291
)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
d09b70c98b
r14527: Fix build problems.
...
(This used to be commit 863ca4014d
)
2007-10-10 13:57:37 -05:00
Stefan Metzmacher
a1b295ed48
r14256: - rename smb_file -> smb_handle
...
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
(This used to be commit be6d5298a2
)
2007-10-10 13:57:06 -05:00
Andrew Tridgell
7f0c7702f6
r14208: removed use of req->flags2 inside the ntvfs layer. This should help
...
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 b78abbbce6
)
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
307e43bb56
r14173: change smb interface structures to always use
...
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2
the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2
metze
(This used to be commit 2ef3f59709
)
2007-10-10 13:56:57 -05:00
Jelmer Vernooij
ba564a901e
r13903: Don't generate prototypes for modules and binaries in include/proto.h by
...
default.
(This used to be commit c80a8f1102
)
2007-10-10 13:52:21 -05:00
Stefan Metzmacher
1a53c1dc92
r13346: use private proto header files for the torture tests
...
metze
(This used to be commit 67837dbd2b
)
2007-10-10 13:51:47 -05:00
Jelmer Vernooij
78c50015bb
r12694: Move some headers to the directory of the subsystem they belong to.
...
(This used to be commit c722f665c9
)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
25bb00fbcd
r12693: Move core data structures out of smb.h into core.h
...
torture prototypes in seperate header
(This used to be commit 73610639b2
)
2007-10-10 13:49:39 -05:00
Stefan Metzmacher
1d63dc5fe4
r12641: - remove some unused functions
...
- we already call usleep() directly in some places,
so do it everywhere
metze
(This used to be commit 9eaf6e2c4d
)
2007-10-10 13:49:33 -05:00
Jelmer Vernooij
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318
)
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
2cd5ca7d25
r12542: Move some more prototypes out to seperate headers
...
(This used to be commit 0aca5fd513
)
2007-10-10 13:47:55 -05:00
Jelmer Vernooij
e3b8d856aa
r10662: Eliminate pstring and friends.
...
(This used to be commit ecef1ee6cd
)
2007-10-10 13:39:15 -05:00
Andrew Tridgell
34f48e0e09
r7431: this should fix the bug that mkaplan and I noticed which is that
...
BENCH-NBENCH sometimes incorrectly reports that it failed.
(This used to be commit 167c29bec6
)
2007-10-10 13:17:52 -05:00
Jeremy Allison
2825b0cddf
r7180: Missed fixing the shutdown for 1 process...
...
Jeremy.
(This used to be commit 997e1405cb
)
2007-10-10 13:17:23 -05:00
Jeremy Allison
cbf0a4c362
r7178: If we're using one process in NETBENCH simultion only open one
...
connection to the server. Makes valgrind/cachegrind on the server
easier.
Jeremy.
(This used to be commit fba9462591
)
2007-10-10 13:17:23 -05:00
Andrew Tridgell
e82aad1ce3
r5298: - got rid of pstring.h from includes.h. This at least makes it a bit
...
less likely that anyone will use pstring for new code
- got rid of winbind_client.h from includes.h. This one triggered a
huge change, as winbind_client.h was including system/filesys.h and
defining the old uint32 and uint16 types, as well as its own
pstring and fstring.
(This used to be commit 9db6c79e90
)
2007-10-10 13:09:38 -05:00
Andrew Tridgell
759da3b915
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
...
large commit. I thought this was worthwhile to get done for
consistency.
(This used to be commit ec32b22ed5
)
2007-10-10 13:09:15 -05:00