summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-05-03Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2-5/+2
This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
2011-05-03s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett5-9/+19
This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
2011-05-03s4-torture Remove unused and uncompleated testAndrew Bartlett1-54/+0
2011-04-30s4:torture/nbt/winsreplication: ignore incoming broadcast messagesStefan Metzmacher1-2/+19
This will hopefully fix the flakey behavior of the samba4.nbt.winsreplication.owned test. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 12:45:01 CEST 2011 on sn-devel-104
2011-04-30s4:torture/nbt/winsreplication: assert the nbt name before the typeStefan Metzmacher1-2/+2
I hope that will make it easier to find problems with the flakey samba4.nbt.winsreplication.owned test. metze
2011-04-30s4:torture/nbt/winsreplication: use torture macros in order report failuresStefan Metzmacher1-8/+104
This makes sure we can ignore this failures with the "knownfail" file. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 10:37:16 CEST 2011 on sn-devel-104
2011-04-29s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"Matthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-04-29s4:torture/rpc/testjoin.c - use a LDB result constantMatthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-04-20s4-smbtorture: restructure documentname handling in spoolss test a bit.Günther Deschner1-3/+4
Guenther
2011-04-20libcli/auth Move PAC parsing and verification in common.Andrew Bartlett1-14/+9
This uses the source3 PAC code (originally from Samba4) with some small changes to restore functionality needed by the torture tests, and to have a common API. Andrew Bartlett
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett3-3/+3
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-04-13s4-test: added a test for E_deshash()Andrew Tridgell3-1/+72
this particularly checks the boundary conditions near passwords of length 14 characters Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 13 07:31:55 CEST 2011 on sn-devel-104
2011-04-13lib/util/charset Add many more charset testsAndrew Bartlett1-0/+2
This confirms that the behaviour of the convert_string() API (with the process-wide iconv handle). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Rename convert_string test to allow a 'non_handle' testAndrew Bartlett1-1/+1
A future commit will test (with a subset of tests) the varient of this function without _handle. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s4/torture Fix calls to charcnv functions to always supply converted_sizeAndrew Bartlett2-2/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-07s4-smbtorture: fix lsa forest trust test.Günther Deschner1-1/+1
lsa_lsaRSetForestTrustInformation takes a policy handle obtained from lsaopenpolicy/lsaopenpolicy2 and not a trusted domain handle (MS-LSAD 3.1.4.7.16 LsarSetForestTrustInformation (Opnum 74)). Sumit, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 7 14:52:52 CEST 2011 on sn-devel-104
2011-04-06lib: make asn1_util a private libraryAndrew Tridgell1-1/+1
this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-03Fix compilation without external heimdal.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 3 17:18:56 CEST 2011 on sn-devel-104
2011-04-03use system heimdal headers if possible, fix missing dependencies on hx509 ↵Jelmer Vernooij1-1/+5
and krb5 libraries.
2011-03-31lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et alAndrew Bartlett1-0/+1
This adds tests for: strncasecmp_m strcasecmp_m strupper_talloc_n strlower_talloc strhaslower strhasupper The tests can certainly be improved with pre-calculated upper and lower case text, but this at least puts them though their paces. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 31 14:24:22 CEST 2011 on sn-devel-104
2011-03-30Fix convert_string() to take a *converted_size arg. and return a bool.Jeremy Allison1-6/+12
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-30lib/util/charset Add tests for convert_string_talloc_handle()Andrew Bartlett2-0/+2
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104
2011-03-29Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison1-2/+2
Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
2011-03-29s4-fsmo: samba-tool fsmo takes a URL, not a hostnameAndrew Tridgell1-2/+2
better to call the option --url Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett1-1/+1
This better reflects what this structure is Andrew Bartlett
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell5-8/+6
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-19source4/torture: Fix prototypes for all functions.Jelmer Vernooij7-0/+8
2011-03-19source4/torture/ndr: Fix prototypes for all functions.Jelmer Vernooij14-0/+14
2011-03-19source4/torture/basic: Fix prototypes for all functions.Jelmer Vernooij17-0/+17
2011-03-19source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij31-0/+32
2011-03-18s4-smbtorture: add netsessiongetinfo() test.Günther Deschner1-0/+60
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 18 02:11:38 CET 2011 on sn-devel-104
2011-03-18s4-smbtorture: add missing error code check in test_netsessionenum().Günther Deschner1-0/+2
Guenther
2011-03-18s4-smbtorture: add test for rap_NetUserDelete().Günther Deschner1-0/+49
Guenther
2011-03-18s4-smbtorture: add test for rap_NetUserAdd().Günther Deschner1-1/+66
Guenther
2011-03-18s4-smbtorture: use torture_assert_ and comment functions in raw.eas test.Günther Deschner1-32/+29
Guenther
2011-03-18s4-smbtorture: use torture_context in raw.eas test.Günther Deschner1-6/+6
Guenther
2011-03-18s4-smbtorture: remove trailing whitespace from raw.eas test.Günther Deschner1-34/+34
Guenther
2011-03-17s4-smbtorture: more torture_fail usage in raw.write test.Günther Deschner1-6/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 17 13:10:14 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: use torture_assert in torture_samba3_rpc_sharesec().Günther Deschner1-23/+18
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 17:47:11 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: use torture_fail and _assert in torture_samba3_rpc_getusername().Günther Deschner1-48/+16
Guenther
2011-03-16s4-smbtorture: remove explicit mem_ctx from torture_samba3_rpc_getusername().Günther Deschner1-20/+14
Guenther
2011-03-16s4-smbtorture: use torture_assert in samr large-dc test.Günther Deschner1-14/+38
Guenther
2011-03-16s4-smbtorture: use torture_fail and _assert macros in torture_netlogon_samba3().Günther Deschner1-30/+16
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 15:51:12 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: remove explicit mem_ctx from torture_netlogon_samba3().Günther Deschner1-12/+3
Guenther
2011-03-16s4-smbtorture: use torture_fail and _skip in raw.write test.Günther Deschner1-54/+30
Guenther
2011-03-16s4-smbtorture: remove duplicate if branch in raw.write test.Günther Deschner1-5/+0
Guenther
2011-03-16s4-smbtorture: use torture_fail/-assert api in torture_samba3_hide().Günther Deschner1-59/+26
Guenther
2011-03-15s4-rap: remove last iconv_convenience traces from rap client and test code.Günther Deschner1-4/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 15 22:01:51 CET 2011 on sn-devel-104
2011-03-15s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP ↵Günther Deschner6-1510/+6
subsystem. Guenther
2011-03-15s4-smbtorture: check for username and computername presence in ↵Günther Deschner1-1/+20
rap_netsessionenum test. Guenther