summaryrefslogtreecommitdiffstats
path: root/source3/torture/t_push_ucs2.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-torture remove unused t_push_ucs2.c t_strcmp.c t_strstr.cAndrew Bartlett2011-10-281-55/+0
| | | | | | | | These tests were incorportated into source4/scripting/python/samba/tests/strings.py with fa3e2fc8bb3e935c65b7043382cad1d649cb68a6. Andrew Bartlett
* s3:torture: use lp_load_global() in the push_ucs2 testMichael Adam2011-07-281-1/+1
|
* s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc()Andrew Bartlett2009-04-071-4/+4
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Cleanup size_t return values in callers of convert_string_allocateTim Prouty2008-05-201-2/+3
| | | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
* t_push_ucs2, t_strcmp: Run tests only once by default, rather thanMartin Pool2003-04-091-3/+6
| | | | | | | 10000 times. (In theory they should be pure functions....) You can specify a parameter to repeat them if you want to e.g. measure performance. (This used to be commit 92acecd28c3374abcadbff0ab9cb765411f453f4)
* Integrate abartlet's t_push_ucs2 test into test framework:Martin Pool2003-04-081-2/+6
| | | | | | | | | | | | | | | | | - Build t_push_ucs2 as part of check-programs, the prerequisite for "make check". - t_push_ucs2.c: Load configuration from /dev/null so that we get a unix_charset of UTF-8 and can do meaningful UCS2 tests. Better comment. - Add a test to strings.py which tries conversion UTF8->UCS2->UTF8 and checks the results. Do this for English, Latin-1, and Katakana strings. - Add Python module with symbolic names for a handful of UNICODE characters. (This used to be commit 275e095c92ac74815ab9e388a0e83cdb7ddd85f3)
* If the string does not convert back, print the buggy result.Andrew Bartlett2003-04-061-3/+10
| | | | (This used to be commit 98f76325542c0ab2e0bbcf082a15c6f8db27e37c)
* Fix bigballofmud.so, and add a test to show a bug I'm having with push_ucs2.Andrew Bartlett2003-04-061-0/+40
Andrew Bartlett (This used to be commit a60fd29b43537935500f40a32fec553f2b52c0d3)