summaryrefslogtreecommitdiff
path: root/source4/torture/basic/base.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-10/+10
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-1/+0
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij1-36/+36
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-1/+1
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-02-02Change uint_t to unsigned int in source4Matt Kraai1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-26s4:smbtorture: add BASE-BENCH-HOLDOPENStefan Metzmacher1-0/+1
This is useful for manual performance testing with a large number of share mode entries. metze
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-2/+0
This reduces compile time somewhat.
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-2/+2
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.
2009-10-06s4/torture: Add SMB sharemode/access mask testsAravind Srinivasan1-0/+4
Test several thousand permutations of create mask and sharemodes on file and directory opens. These tests use a checked-in results table derived from a WinXP server to verify correct server behavior. CREATEX_ACCESS CREATEX_SHAREMODES_FILE CREATEX_SHAREMODES_DIR MAXIMUM_ALLOWED
2009-08-11torture/basic: in run_derefopen() the file could have been deleted before ↵Matthias Dieter Wallnöfer1-2/+6
the last unlink Through a suggestion pointed out in bug #6622 the test file sometimes doesn't exist on the last turn anymore. So we haven't to fail here since it could have been deleted by a concurrent process (e.g. when the same test runs multiple times). Therefore also NT_STATUS_OBJECT_NAME_NOT_FOUND is an acceptable result.
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-12/+6
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
2008-11-01Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij1-1/+2
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-1/+2
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-1/+2
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-13Use torture_assert_mem_equal() in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-26BASE-DEFER_OPEN: be less strict with to late responsesStefan Metzmacher1-1/+1
The server might be just busy. metze (This used to be commit 16c60cd347a42a2d98753585cbefddc948e2860f)
2008-02-25BASE-DEFER_OPEN: add torture:sharedelays option to run this test fasterStefan Metzmacher1-5/+13
metze (This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-1/+4
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij1-1/+1
The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
2008-01-02r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij1-1/+1
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-1/+1
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-1/+1
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij1-1/+1
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-12-21r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij1-3/+3
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-6/+6
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij1-1/+1
explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-10-10r25596: It isn't valid to take the address of an array on the stack, and thisAndrew Bartlett1-1/+1
isn't what memset wants anyway. Thanks to Indar Kriplani <indar.kriplani@gmail.com>. Fixes bug 5010 Andrew Bartlett (This used to be commit fd309065bb697cfaaa595d060defee1761cf9523)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-125/+125
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-2/+2
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25392: Add loadparm context as argument in a couple more places.Jelmer Vernooij1-3/+3
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-2/+2
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24882: Use the torture API in BASE-CHARSET.Jelmer Vernooij1-1/+1
(This used to be commit 93910d92cd431add876e98a12712253bee8c52e7)
2007-10-10r24874: Fix double free of smbcli_tree.Jelmer Vernooij1-4/+2
(This used to be commit 84f14b5dd042f8805e69ad455b222a76614dbe21)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-4/+2
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij1-0/+2
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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)
2007-10-10r22579: disable progress printing in the build-farmStefan Metzmacher1-1/+3
metze (This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
2007-10-10r20823: Remove newlines in calls to torture_fail().Jelmer Vernooij1-2/+2
(This used to be commit 37c0cfe83bd9b9f799c880e3b5052a49631a113e)
2007-10-10r20423: Fix debug outputVolker Lendecke1-1/+1
(This used to be commit 6afc394d9349782788cc06a38750f0723a5a55e7)
2007-10-10r20422: A torture test extension for JeremyVolker Lendecke1-0/+26
(This used to be commit 1bcc421dab53adaf3b6c6d7f51c23c80cb637a95)
2007-10-10r20357: run_trans2test and torture_trans2_scan are two separate testsVolker Lendecke1-1/+1
(This used to be commit 2e06c38a98e3891ed1f9e823614c3f0c3d279afe)
2007-10-10r20341: Make sure we do not regress on r20338 in Samba3Volker Lendecke1-0/+61
(This used to be commit 64ee399c964c2935c1386123e2e636c266c8c6a8)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-1/+1
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-552/+371
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)
2007-10-10r18307: fixed a warningAndrew Tridgell1-1/+1
(This used to be commit cf24d46ea3c2dca4425121642400bef88f218a9e)
2007-10-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell1-1/+1
emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke1-14/+16
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)