summaryrefslogtreecommitdiff
path: root/source3/torture/t_push_ucs2.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-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)
2003-04-09t_push_ucs2, t_strcmp: Run tests only once by default, rather thanMartin Pool1-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)
2003-04-08Integrate abartlet's t_push_ucs2 test into test framework:Martin Pool1-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)
2003-04-06If the string does not convert back, print the buggy result.Andrew Bartlett1-3/+10
(This used to be commit 98f76325542c0ab2e0bbcf082a15c6f8db27e37c)
2003-04-06Fix bigballofmud.so, and add a test to show a bug I'm having with push_ucs2.Andrew Bartlett1-0/+40
Andrew Bartlett (This used to be commit a60fd29b43537935500f40a32fec553f2b52c0d3)