summaryrefslogtreecommitdiffstats
path: root/source3/torture/t_strstr.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-torture remove unused t_push_ucs2.c t_strcmp.c t_strstr.cAndrew Bartlett2011-10-281-38/+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 strstr testMichael Adam2011-07-281-1/+1
|
* 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)
* r6175: Fix crash bug and compiler warnings in strchr_m() test. Bugzilla #2565.Tim Potter2007-10-101-1/+4
| | | | (This used to be commit 17d13b57136d1f58c450d4587476304482bbd12a)
* Given how core this code is, I figure it should have it's own testsuite.Andrew Bartlett2004-03-091-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)