summaryrefslogtreecommitdiff
path: root/source3/torture/t_strstr.c
AgeCommit message (Collapse)AuthorFilesLines
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)