Jeremy Allison
c109a70531
Fix convert_string() to take a *converted_size arg. and return a bool.
...
Makes these interfaces much harder to misuse and easier to ensure error
checking.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104
2011-03-30 23:59:37 +02:00
Andrew Bartlett
b5616adc8a
lib/util/charset rename iconv_convenience to iconv_handle
...
This better reflects what this structure is
Andrew Bartlett
2011-03-25 04:37:06 +01:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Jelmer Vernooij
be9f1ca1c6
source4/torture/basic: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Jelmer Vernooij
136c160064
Use <tdb.h> to include tdb, so the system include file gets used when building against
...
system tdb.
2011-02-28 21:11:21 +01:00
Jelmer Vernooij
35fbc7bbda
s4-smbtorture: Make test names lowercase and dot-separated.
...
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-11 04:16:13 +01:00
James Peach
7ef1de3973
smbtorture: correct error handling in BASE-OPEN.
...
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-12-11 03:19:39 +01:00
Matthias Dieter Wallnöfer
10d1cd7af7
s4:torture - partially revert "s4:torture - prefer the termination "return"s at the end of two unittests"
...
This partially reverts commit 54a5c398aa
.
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-30 09:23:00 +01:00
Matthias Dieter Wallnöfer
54a5c398aa
s4:torture - prefer the termination "return"s at the end of two unittests
...
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-29 23:29:23 +01:00
Matthias Dieter Wallnöfer
87b887f48f
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
2010-11-29 14:48:12 +01:00
Matthias Dieter Wallnöfer
59e22ba9c0
s4:torture/basic/base.c - fix output warnings regarding "time_t"
...
"time_t" is generally "long int".
2010-11-15 22:31:04 +00:00
Abhidnya P Chirmule
fb75355263
File winattr test
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 7 16:51:19 UTC 2010 on sn-devel-104
2010-10-07 16:51:19 +00:00
Abhidnya P Chirmule
9af40beda6
File BirthTime test
2010-10-07 16:10:16 +00:00
Björn Jacke
2b254c814b
s3/s4: merge msleep and smb_msleep
...
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
2010-09-16 21:38:20 +02:00
Björn Jacke
54ca77183b
s4/torture: use time_mono for timeouts
2010-09-10 23:10:25 +02:00
Björn Jacke
478ac36b9c
s4/torture: use time_mono for delta time
2010-09-10 23:10:25 +02:00
Björn Jacke
4c8531b642
s4/torture: use monotonic clock for time deltas in denytest
2010-08-31 10:26:40 +02:00
James Peach
88d48a7d92
smbtorture: Make BASE-OPENATTR report a failure if it fails.
2010-08-11 11:11:11 -07:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
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-07-16 18:24:27 +10:00
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Jelmer Vernooij
3a34b5f35e
subunit: Remove more test output that could be interpreted by subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
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-04-11 20:57:33 +02:00
Andrew Tridgell
2699db3fe0
s4-torture: removed more uses of typeof()
...
not portable
2010-03-31 10:23:17 +11:00
Matthias Dieter Wallnöfer
65d1d41844
s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
...
This should make it compatible with the SUN Studio C Compiler.
2010-03-30 17:24:15 +02:00
Matt Kraai
d8071e7ed7
Change uint_t to unsigned int in source4
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Stefan Metzmacher
601642d923
s4:smbtorture: add BASE-BENCH-HOLDOPEN
...
This is useful for manual performance testing with a large
number of share mode entries.
metze
2010-01-26 15:23:24 +01:00
Aravind Srinivasan
0c42d65d7c
s4/torture: add delete-on-close test for directories
...
This test opens a directory with delete on close, opens it again,
and checks to make sure that the second open returned with
NT_STATUS_DELETE_PENDING.
2009-12-07 16:10:24 -08:00
Zachary Loafman
60d9828ade
s4-torture: Allow the legacy DENY_FCB/DENY_DOS share modes to be ignored
...
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-12-03 19:07:54 -08:00
Matthias Dieter Wallnöfer
d89b475f84
torture/basic/denytest - makes the code more compatible for TRU64 (consider buildfarm)
2009-11-07 19:54:24 +01:00
Jeremy Allison
c2df97f57c
Fix up some of the timing constants for DELAYWRITE. Add some extra tests up test_delayed_write_update6
...
to investigate what happens to a sticky write handle after a second handle close.
Jeremy.
2009-11-05 15:37:26 -08:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Andrew Tridgell
533b102493
s4-torture: cleanup after the MAXIMUM_ALLOWED test
2009-10-17 13:01:03 +11:00
Andrew Tridgell
7226ba73a0
s4-torture: add a special check for administrators and privileges
...
lsa privileges calls don't expand groups. darn.
2009-10-17 13:01:03 +11:00
Andrew Tridgell
f3f695f18f
s4-torture: show the sid we are basing privilege tests on
2009-10-17 13:01:02 +11:00
Andrew Tridgell
29929a3c46
s4-torture: take privileges into account in BASE-MAXIMUM_ALLOWED
...
The correct answer depends on the users privileges.
2009-10-16 10:12:18 +11:00
Andrew Tridgell
3c028ff88b
s4-smb: declare root_fid as a file handle
...
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-15 20:03:00 +11:00
Steven Danneman
26b7734841
s4/torture: Add server target of OneFS
...
I've added a "--target=onefs" which lists expected deviation in the
OneFS SMB server implementation compared to a Windows machine.
I've added this in a generic way using a list of module specific
parameters. This list currently only contains the absence of
SACL support but will be added to as additional server differences
are defined.
I'd liked to use this abstraction for defining the differences between
a WinXP and Win7 server as well.
2009-10-06 19:43:15 -07:00
Aravind Srinivasan
e9c3318e52
s4/torture: Add SMB sharemode/access mask tests
...
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-10-06 19:43:15 -07:00
Aravind Srinivasan
6de743a2a2
s4/torture: change comments to torture_failures
...
This allows the frameworks that wrap smbtorture to detect errors
better.
2009-10-06 19:43:15 -07:00
Jeremy Allison
f3cc05b96d
Torture test for bug 6529 - Offline files conflict with Vista and Office 2003.
...
Ensure we don't regress.
Jeremy.
2009-09-14 18:45:16 -07:00
Jeremy Allison
9a86f26a5f
Allow systems with timestamp granularity of 1sec to work with
...
this test.
Jeremy.
2009-08-24 18:21:23 -07:00
Matthias Dieter Wallnöfer
8fcf1b988a
torture/basic: in run_derefopen() the file could have been deleted before 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.
2009-08-11 12:59:14 +02:00
Jeremy Allison
0daf9a042c
Note that the delaytime for update has changed betweek w2k3 and w2k8.
...
We must eventually parameterize this.
Jeremy.
2009-06-03 14:12:18 -07:00
Jelmer Vernooij
94069bd274
s4: Use same function signature for convert_* as s3.
2009-03-01 19:55:46 +01:00
Jelmer Vernooij
9ffb6d2d9e
Add allow_badcharcnv argument to all conversion function, for
...
consistency with Samba 3.
2009-03-01 06:33:40 +01:00
Zack Kirsch
307f4a66ac
s4 torture: Two minor fixes to smbtorture BRL tests.
2009-02-11 12:23:32 -08:00
Stefan Metzmacher
0ac7792e02
s4:libcliraw: s/private/private_data
...
metze
2009-02-02 13:08:51 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Stefan Metzmacher
79351f75fe
BASE-LOCK: fix LOCK5
...
We need to close all 3 file handle to make the unlink work.
metze
2008-12-18 13:31:41 +01:00
Tim Prouty
4a9b092eb4
s4: [2/3] Fix a delete on close divergence from windows and the associated torture test
...
This second patch fixes the deltest17 BASE-DELETE torture test to pass
against win2k3/win2k8/winXPsp2
2008-12-09 18:02:31 -08:00
Jelmer Vernooij
ff36c52d8c
Remove another use of global_loadparm.
...
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-02 16:07:28 +01:00
Jelmer Vernooij
b034c519f5
Add gensec_settings structure. This wraps loadparm_context for now, but
...
should in the future only contain some settings required for gensec.
2008-11-02 02:05:48 +01:00
Jelmer Vernooij
7a6190e9a7
Remove another use of global_loadparm.
2008-11-02 01:03:26 +01:00
Jelmer Vernooij
57a60f0920
Move lp_*() calls a bit higher up the calls tack.
2008-11-01 22:13:47 +01:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
37d885c51a
Remove iconv_convenience argument from convert_string{,talloc}() but
...
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24 14:26:46 +02:00
Jelmer Vernooij
8b06312f7e
Eliminate another instance of global_loadparm.
2008-10-24 13:13:27 +02:00
Jelmer Vernooij
922a29992e
Remove iconv_convenience parameter from simple string push/pull
...
functions.
2008-10-24 03:40:09 +02:00
Jelmer Vernooij
c0e14d5021
Repel pstring to nsswitch/.
2008-10-22 05:14:14 +02:00
Jelmer Vernooij
3994c42f19
Fix number of arguments for file_load() functions.
2008-10-12 19:46:38 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
181ee01da6
Pass session options around; saves another use of global_loadparm.
2008-09-30 02:47:19 +02:00
Jelmer Vernooij
c8a19f0b83
Pass options struct into session initialization functions rather than
...
using global_loadparm.
2008-09-30 01:29:53 +02:00
Jelmer Vernooij
a61c9ded40
Properly report why a test didn't succeed (required for use with known
...
failures).
2008-09-18 16:05:46 +02:00
Jelmer Vernooij
8ec93160d5
Fix last few includes to use new tdb location.
2008-09-16 16:09:50 +02:00
Jeremy Allison
6ce1c893fa
Comment the delay write time tests so I know what they're
...
testing.
Jeremy.
(This used to be commit 2bf9074c77
)
2008-09-12 14:59:32 -07:00
Jeremy Allison
bc731db854
A truncate write must be a smbcli_smbwrite, not a
...
smbcli_write.
Jeremy.
(This used to be commit 8cebd4d36c
)
2008-09-09 21:24:34 -07:00
Jeremy Allison
2c2a79eefa
Make it easier to see when tests start/end.
...
Jeremy.
(This used to be commit 6f89e72827
)
2008-09-08 14:58:58 -07:00
Stefan Metzmacher
ad34034797
BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite truncate and writeX again
...
metze
(This used to be commit 66b8c8d80e
)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
f009e78864
BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and SMBwrite again
...
metze
(This used to be commit 051164ba0a
)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
1cf9d7e078
BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write time after SET_FILE_INFO
...
metze
(This used to be commit f81014db9d
)
2008-09-08 16:22:53 +02:00
Stefan Metzmacher
a626b01193
BASE-DELAYWRITE: demonstrate that the time between the open and the first write doesn't matter
...
metze
(This used to be commit 13d051cd63
)
2008-09-08 12:12:25 +02:00
Stefan Metzmacher
3ca48b015f
BASE-DELAYWRITE: test more details of the truncate write time update behavior
...
metze
(This used to be commit 39367ef15f
)
2008-09-08 08:31:34 +02:00
Jeremy Allison
56b6b4a68f
Don't compare identity, it'll never be different.
...
Jeremy.
(This used to be commit 840369b553
)
2008-09-05 21:47:06 -07:00
Jeremy Allison
0d0fddf8ae
Added tests that show that write time update is immediate
...
when changing file size using SMBwrite of size zero,
SET_END_OF_FILE, or SET_ALLOCATION_SIZE - no 2 second
delay in these cases.
Jeremy.
(This used to be commit 3aa7523d77
)
2008-09-05 14:24:36 -07:00
Stefan Metzmacher
bbbe06fb09
torture: .in.max_data should not depend on the smb max size
...
We now support async multi fragment SMBtrans calls.
metze
(This used to be commit ba8499867a
)
2008-07-07 20:59:18 +02:00
Andrew Tridgell
70219bee13
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 9d74201e46
)
2008-06-03 15:11:42 -07:00
Stefan Metzmacher
6610a6c49a
BASE-DELAYWRITE: fix test on filesystem without high resolution timestamps
...
metze
(This used to be commit fde9880f99
)
2008-06-03 14:03:49 +02:00
Stefan Metzmacher
fb4c9dd5eb
BASE-DELAYWRITE: add missing time checks to make sure the server has updated the write time
...
metze
(This used to be commit 9c004df891
)
2008-06-03 11:17:17 +02:00
Andrew Tridgell
e7b30f023b
remove unused macros
...
(This used to be commit 7a1877db15
)
2008-06-02 11:04:36 +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
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down 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 3045d39162
)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
148d3b170a
Use torture_assert_mem_equal() in a couple more places.
...
(This used to be commit e2c3fab9d1
)
2008-04-13 22:00:36 +02:00
Stefan Metzmacher
4677ac6e70
BASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps
...
metze
(This used to be commit 9c18cf6708
)
2008-04-08 19:42:06 +02:00
Stefan Metzmacher
edb3a83a06
BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update delay
...
metze
(This used to be commit 751ab2992a
)
2008-04-08 16:55:16 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Stefan Metzmacher
db2a2382d1
BASE-DEFER_OPEN: be less strict with to late responses
...
The server might be just busy.
metze
(This used to be commit 16c60cd347
)
2008-02-26 10:31:37 +01:00
Stefan Metzmacher
a622f80c65
BASE-DEFER_OPEN: add torture:sharedelays option to run this test faster
...
metze
(This used to be commit 877cc375d0
)
2008-02-25 07:39:23 +01:00
Jelmer Vernooij
d9f8232c34
Remove more uses of global_loadparm.
...
(This used to be commit 230355d2e6
)
2008-02-21 15:21:45 +01:00
Jelmer Vernooij
dcc282590b
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
...
(This used to be commit 8a97886e24
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
dc8ccffed4
r26653: Janitorial: Remove global_loadparm use in two more places.
...
(This used to be commit 65fbb4700d
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
425732f688
r26651: libsmb: Allow specifying signing policy from higher up.
...
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 9f64213463
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
969b8579c7
r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
...
(This used to be commit 0ef75e4e3c
)
2008-01-02 12:48:04 -06:00
Jelmer Vernooij
771b347f9b
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
...
(This used to be commit 385ffe4f4c
)
2008-01-02 12:48:03 -06:00
Kai Blin
1786af425b
r26466: Janitorial: Remove pstrings and static char[]s from torture/basic/scanner.c
...
(This used to be commit 59286797cb
)
2007-12-21 05:50:30 +01:00
Jelmer Vernooij
5e00673a40
r26438: Store iconv convenience in tdr push contexts.
...
(This used to be commit dffef31627
)
2007-12-21 05:50:07 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7ab
)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de
)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a4
)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b
)
2007-12-21 05:48:30 +01:00
Stefan Metzmacher
1fbe268ec9
r26307: BASE-DELAYWRITE: only set the write time
...
metze
(This used to be commit b7d7a58b23
)
2007-12-21 05:48:19 +01:00
Stefan Metzmacher
8036dbcf7f
r26306: BASE-DELAYWRITE: print access time stamps and test fileinfo and pathinfo match
...
metze
(This used to be commit 58bc21a3f8
)
2007-12-21 05:48:19 +01:00
Jelmer Vernooij
2f8dc4f48f
r26266: Remove more global_loadparm uses.
...
(This used to be commit 99113075c4
)
2007-12-21 05:47:42 +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
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a553054
)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
6c999cd123
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
...
(This used to be commit 5b29ef7c03
)
2007-12-21 05:47:15 +01:00
Stefan Metzmacher
4ab0b47ffd
r26220: BASE-DELAYWRITE: add more subtests to explore write time update details
...
metze
(This used to be commit 92dcc85e3a
)
2007-12-21 05:46:57 +01:00
Stefan Metzmacher
c555c3fa38
r26219: BASE-DELAYWRITE: make the tests more strict about the write time update
...
metze
(This used to be commit c1335651d3
)
2007-12-21 05:46:57 +01:00
Andrew Bartlett
26d4d7543b
r25596: It isn't valid to take the address of an array on the stack, and this
...
isn't what memset wants anyway.
Thanks to Indar Kriplani <indar.kriplani@gmail.com>. Fixes bug 5010
Andrew Bartlett
(This used to be commit fd309065bb
)
2007-10-10 15:08:02 -05: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
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
3048e9ad65
r25392: Add loadparm context as argument in a couple more places.
...
(This used to be commit c62f51cc28
)
2007-10-10 15:07:24 -05:00
Volker Lendecke
ab36db2f9d
r25186: Fix a memory corruption in base-mangle
...
(This used to be commit 4822b3f0db
)
2007-10-10 15:06:47 -05:00
Jeremy Allison
9a012df08e
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
(This used to be commit 0844dbf597
)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
3b6186a676
r25008: Remove use of pstring.
...
(This used to be commit c57869e262
)
2007-10-10 15:05:33 -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
ac2a701483
r24882: Use the torture API in BASE-CHARSET.
...
(This used to be commit 93910d92cd
)
2007-10-10 15:03:27 -05:00
Jelmer Vernooij
4fe2da6279
r24874: Fix double free of smbcli_tree.
...
(This used to be commit 84f14b5dd0
)
2007-10-10 15:03:25 -05:00
Jelmer Vernooij
919aa6b27e
r24735: Use torture API in more places.
...
(This used to be commit 1319d88c09
)
2007-10-10 15:03:00 -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
Jelmer Vernooij
f96b1778a4
r24674: Make sure results are always on a new line, fix typo in test name.
...
(This used to be commit 40c1635b39
)
2007-10-10 15:02:37 -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 Bartlett
a87dea2a08
r23810: Make things static, and remove unsued code.
...
This includes some of the original ildap ldap client API. ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.
Andrew Bartlett
(This used to be commit dc27a7e41c
)
2007-10-10 14:59:21 -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 Bartlett
d291b8bf93
r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
...
Andrew Bartlett
(This used to be commit 96ef5259c6
)
2007-10-10 14:53:26 -05:00
Alexander Bokovoy
9ed016b692
r23540: Continue fixing bench-readwrite. We need to initialize state->readcnt not only when file is written but at initial write as well.
...
(This used to be commit 0258f9d3c2
)
2007-10-10 14:53:26 -05:00
Alexander Bokovoy
de4f15a3ad
r23529: When using READX, fill in readx fields. Thanks to Metze for spotting it.
...
(This used to be commit 9bb079d70d
)
2007-10-10 14:53:24 -05:00
Alexander Bokovoy
7e02cb2101
r23506: Turn back to RAW_READ_READ because buildfarm fails. Investigating.
...
(This used to be commit a580d19cb3
)
2007-10-10 14:53:23 -05:00
Alexander Bokovoy
5b2e3e8bd8
r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan
...
(This used to be commit 5530b38bbf
)
2007-10-10 14:53:23 -05:00
Jeremy Allison
45afb4fdb0
r23104: Add comment explaining the new test.
...
Jeremy.
(This used to be commit 7b9b5c59a4
)
2007-10-10 14:52:49 -05:00
Jeremy Allison
6223ae4015
r23103: Add a torture test for the insane semantics Steve's cifsfs client
...
uses so we don't regress :-).
Jeremy.
(This used to be commit 5ce41ae40c
)
2007-10-10 14:52:49 -05:00
Jeremy Allison
2087e1ce6a
r23099: New interesting delete on close tests :-).
...
This will break all delete tests on the build farm
until I check in my server patch.
Jeremy.
(This used to be commit c31f775f1c
)
2007-10-10 14:52:49 -05:00
Andrew Tridgell
042ddf28ec
r23029: fixed formatting
...
(This used to be commit 72ee470772
)
2007-10-10 14:52:41 -05:00
Andrew Tridgell
c42219d735
r22969: fix some more places where we could end up with more than one event
...
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb656
)
2007-10-10 14:52:34 -05:00
Stefan Metzmacher
628ff1bea3
r22579: disable progress printing in the build-farm
...
metze
(This used to be commit 93089ad5e8
)
2007-10-10 14:51:47 -05:00
Jelmer Vernooij
72d88d158a
r21707: Finally merge my (long-living) perlselftest branch.
...
This changes the main selftest code to be in perl rather than in shell script.
The selftest script is now no longer a black box but a regular executable that takes
--help.
This adds the following features:
* "make test TESTS=foo" will run only the tests that match the regex "foo"
* ability to deal with expected failures. the suite will not warn about tests
that fail and are known to fail, but will warn about other failing tests and
tests that are succeeding tests but incorrectly marked as failing.
* ability to print a summary with all failures at the end of the run
It also opens up the way to the following features, which I hope to implement later:
* "environments", for example having a complete domains with DCs and domain members
in a testenvironment
* only set up smbd if necessary (not when running LOCAL tests, for example)
* different mktestsetup scripts per target. except for the mktestsetup script, we can
use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880b
)
2007-10-10 14:49:15 -05:00
Stefan Metzmacher
8c62b4c951
r21539: try to get rid of all valgrind warnings...
...
metze
(This used to be commit 21f0e8e163
)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
0e617102ef
r21533: try to get rid of the valgrind warnings of uninitialized memory
...
passed to a socket
metze
(This used to be commit 18ce338447
)
2007-10-10 14:48:53 -05:00
Stefan Metzmacher
3260b55188
r21523: fix a valgrind warning, we write the struct content to the file and should not leave
...
t2.out uninialized
metze
(This used to be commit 4723374d14
)
2007-10-10 14:48:50 -05:00
Stefan Metzmacher
a626e5a274
r21519: when we want to send non initialized data, then
...
generate a random buffer explicit to make valgrind happy
found by valgrind in the build-farm on fort, there are some more places
like this...
metze
(This used to be commit 2654f595ca
)
2007-10-10 14:48:49 -05:00
Volker Lendecke
f089de886f
r21276: Actually fire off multiple parallel read/write requests.
...
Volker
(This used to be commit 1d7bcdb33e
)
2007-10-10 14:44:58 -05:00
Volker Lendecke
22d39d1bee
r21275: Reformat the bench-readwrite test a bit
...
(This used to be commit d2d44bf677
)
2007-10-10 14:44:58 -05:00
Volker Lendecke
f6558c04fe
r21270: Fix a memleak
...
(This used to be commit 918031a99c
)
2007-10-10 14:44:57 -05:00
Volker Lendecke
627595b7a3
r21134: Attempt to quieten the build farm for Samba3
...
(This used to be commit 966c30ca59
)
2007-10-10 14:44:31 -05:00
Jelmer Vernooij
6967a73f36
r20823: Remove newlines in calls to torture_fail().
...
(This used to be commit 37c0cfe83b
)
2007-10-10 14:43:36 -05:00
Volker Lendecke
7a734d3b30
r20525: Closing a dir with del-on-close set requires the same as files: Don't actually
...
unlink/rmdir if another process still has it open.
Jeremy, this is a potential merger to 3.0.24.
Volker
(This used to be commit d0550a01af
)
2007-10-10 14:36:48 -05:00
Volker Lendecke
785e684983
r20423: Fix debug output
...
(This used to be commit 6afc394d93
)
2007-10-10 14:30:35 -05:00
Volker Lendecke
d2e91a1198
r20422: A torture test extension for Jeremy
...
(This used to be commit 1bcc421dab
)
2007-10-10 14:30:34 -05:00