summaryrefslogtreecommitdiff
path: root/source3/torture/t_strstr.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)
2007-10-10r6175: Fix crash bug and compiler warnings in strchr_m() test. Bugzilla #2565.Tim Potter1-1/+4
(This used to be commit 17d13b57136d1f58c450d4587476304482bbd12a)
2004-03-09Given how core this code is, I figure it should have it's own testsuite.Andrew Bartlett1-0/+35
Big thanks to tpot and mbp for showing how easy it can be to write a simple unit test, and for providing the STF. This also changes the strstr_m() code to use strstr_w() (avoiding duplication) and fixes it so that it passes the STF. (We now always restart before doing the unicode run, until sombody can show me why the testsuite is wrong). Andrew Bartlett (This used to be commit a893a324f37e6a171719db8ffffe66df31c2dbaa)