summaryrefslogtreecommitdiff
path: root/source4/torture/basic/charset.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-251-1/+1
| | | | | | This better reflects what this structure is Andrew Bartlett
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-1/+1
| | | | | | | | | 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
* source4/torture/basic: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+1
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-1/+1
| | | | | | | | 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
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-1/+1
| | | | | | | 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>
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-2/+0
| | | | This reduces compile time somewhat.
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-151-1/+1
| | | | | | 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.
* s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-011-3/+2
|
* Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-011-1/+1
| | | | consistency with Samba 3.
* Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij2008-10-241-1/+1
| | | | make them wrappers around convert_string{,talloc}_convenience().
* r26438: Store iconv convenience in tdr push contexts.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit dffef3162778aebe2f8d77e2da60b22adb7d60ef)
* r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
* r26316: Use contexts for conversion functions.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
* r24882: Use the torture API in BASE-CHARSET.Jelmer Vernooij2007-10-101-107/+53
| | | | (This used to be commit 93910d92cd431add876e98a12712253bee8c52e7)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-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)
* r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij2007-10-101-30/+28
| | | | | | | | | | | | | | | | | | | 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)
* r18807: don't overtax the imaginations of servers that can't do mkdir on ↵Andrew Tridgell2007-10-101-2/+2
| | | | | | \\dirname\\ (This used to be commit 6f2b585f8eb0feb79c0a9d11f1cae3b16e8f162f)
* r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14527: Fix build problems.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
* r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
* r12693: Move core data structures out of smb.h into core.hJelmer Vernooij2007-10-101-0/+1
| | | | | torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12542: Move some more prototypes out to seperate headersJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
* r4549: got rid of a lot more uses of plain talloc(), instead usingAndrew Tridgell2007-10-101-1/+1
| | | | | | | | talloc_size() or talloc_array_p() where appropriate. also fixed a memory leak in pvfs_copy_file() (failed to free a memory context) (This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
* r4035: more effort on consistent naming of the access mask bits.Andrew Tridgell2007-10-101-1/+1
| | | | | | | | | | | This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and SEC_RIGHTS_FULL_CONTROL, which are just other names for SEC_FLAG_MAXIMUM_ALLOWED and SEC_RIGHTS_FILE_ALL. The latter names match the new naming conventions in security.idl Also added names for the generic->specific mappings for files are directories (This used to be commit 17a4e0b3aca227b40957ed1e0c57e498debc6ddf)
* r4011: get rid of rpc_secdes.h and replace it with a single sane set ofAndrew Tridgell2007-10-101-1/+2
| | | | | | | | | definitions for security access masks, in security.idl The previous definitions were inconsistently named, and contained many duplicate and misleading entries. I kept finding myself tripping up while using them. (This used to be commit 01c0fa722f80ceeb3f81f01987de95f365a2ed3d)
* r3699: - split the delayed write testing out of RAW-WRITE, as it is not yetAndrew Tridgell2007-10-101-6/+1
| | | | | | | | clear what the correct behaviour is for delayed stat info update. - use a common torture_setup_dir() function for setting up a test directory in torture tests. (This used to be commit f7fb34715b7d6ea3c35ddd684cfb27459a420339)
* r3324: made the smbtorture code completely warning freeAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
* r2628: got rid of some warnings and converted a few more places to use ↵Andrew Tridgell2007-10-101-1/+1
| | | | | | hierarchical memory allocation (This used to be commit 26da45a8019a2d6c9ff2ac2a6739c7d0b42b00de)
* r2536: This is a classic case for the use of our new talloc code, andAndrew Bartlett2007-10-101-9/+8
| | | | | | | convert_string_talloc(). Andrew Bartlett (This used to be commit 79776006b37fa9df0586711edaba5335467461ac)
* r2159: converted samba4 over to UTF-16.Andrew Tridgell2007-10-101-1/+1
| | | | | | | | | | | | | | | | | I had previously thought this was unnecessary, as windows doesn't use standards compliant UTF-16, and for filesystem operations treats bytes as UCS-2, but Bjoern Jacke has pointed out to me that this means we don't correctly store extended UTF-16 characters as UTF-8 on disk. This can be seen with (for example) the gothic characters with codepoints above 64k. This commit also adds a LOCAL-ICONV torture test that tests the first 1 million codepoints against the system iconv library, and tests 5 million random UTF-16LE buffers for identical error handling to the system iconv library. the lib/iconv.c changes need backporting to samba3 (This used to be commit 756f28ac95feaa84b42402723d5f7286865c78db)
* r1997: fix compiler warningStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit eb9de893b8b93857c648f4df907aac9e9cb199dc)
* r1654: rename cli_ -> smbcli_Stefan Metzmacher2007-10-101-9/+9
| | | | | | | rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
* r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher2007-10-101-12/+12
| | | | | metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
* - moved some of the base tests into torture/basic/Andrew Tridgell2004-03-261-0/+269
- added a CHARSET set of tests, which determines how the server deals with some specific charset issues related to UTF-16 support. Interestingly, Samba3 already passes all but one of these tests, because our incorrect UCS-2 and UTF-8 implementations where we don't check the validity of characters actually matches what Windows does! This means that adding UTF-16 support to Samba is going to be _much_ easier than we expected. (This used to be commit c8497a42364d186f08102224d5062d176ee81f5b)