summaryrefslogtreecommitdiff
path: root/source3/torture/t_strcmp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28s3:torture: use lp_load_global in the strcmp testMichael Adam1-1/+1
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-3/+3
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
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-09Set character set to default (UTF-8) before running tests.Martin Pool1-0/+3
(This used to be commit b20d8b49701b532d4770197c5d08fa092234bf8e)
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-03-19Run test 10000 times to make measurement easier.Martin Pool1-2/+7
(This used to be commit e051789ac6cc05f8a643ea81e887d3b969cf3a27)
2003-03-12Update usage message.Martin Pool1-1/+2
(This used to be commit 17f01f6959fb79ba11a56d6869ec9789e3ee2f74)
2003-02-28Add simple test harness that exposes StrCaseCmp for testing.Martin Pool1-0/+20
(This used to be commit ab77beca041595bc3bd70de3a6e1b49159a4964b)