summaryrefslogtreecommitdiff
path: root/source4/torture/basic/base.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-49/+49
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
2010-12-11smbtorture: correct error handling in BASE-OPEN.James Peach1-71/+104
There are a number of cases in BASE-OPEN where an initial failure cascades into multiple failures due to lack of cleanup between test phases. Fix all these so that they close open file handles correctly. Replace torture_comment with torture_result where appropriate so that the results output contains a useful diagnostic. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 11 03:19:39 CET 2010 on sn-devel-104
2010-11-30s4:torture - partially revert "s4:torture - prefer the termination "return"s ↵Matthias Dieter Wallnöfer1-4/+2
at the end of two unittests" This partially reverts commit 54a5c398aaa1d53b5892c9b0aa5539ae7da651da. As tridge pointed out I've overseen the nested loop in "run_iometer". Therefore we end in a infinite loop. Obviously it wasn't run by "make test" since then I would have detected it. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 30 09:23:00 CET 2010 on sn-devel-104
2010-11-29s4:torture - prefer the termination "return"s at the end of two unittestsMatthias Dieter Wallnöfer1-2/+4
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 29 23:29:23 CET 2010 on sn-devel-104
2010-11-29s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"Matthias Dieter Wallnöfer1-2/+0
2010-11-15s4:torture/basic/base.c - fix output warnings regarding "time_t"Matthias Dieter Wallnöfer1-2/+4
"time_t" is generally "long int".
2010-10-07File winattr testAbhidnya P Chirmule1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 7 16:51:19 UTC 2010 on sn-devel-104
2010-10-07File BirthTime testAbhidnya P Chirmule1-0/+114
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke1-2/+2
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
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)