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
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
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
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
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
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
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
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
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
57a60f0920
Move lp_*() calls a bit higher up the calls tack.
2008-11-01 22:13:47 +01:00
Jelmer Vernooij
8b06312f7e
Eliminate another instance of global_loadparm.
2008-10-24 13:13:27 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Volker Lendecke
1757c0f0a4
r20357: run_trans2test and torture_trans2_scan are two separate tests
...
(This used to be commit 2e06c38a98
)
2007-10-10 14:30:15 -05:00
Volker Lendecke
880a9be3f7
r20341: Make sure we do not regress on r20338 in Samba3
...
(This used to be commit 64ee399c96
)
2007-10-10 14:29: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