Given how core this code is, I figure it should have it's own testsuite.
commit32665c36c88d9f650baa33248275b711799fd300
authorAndrew Bartlett <abartlet@samba.org>
Tue, 9 Mar 2004 11:15:44 +0000 (9 11:15 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 9 Mar 2004 11:15:44 +0000 (9 11:15 +0000)
treef939ac21556abcdaf0e551792069966c2d676b87
parent151faf6935d54efcc3b5bcf8e60419b490ac460d
Given how core this code is, I figure it should have it's own testsuite.

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)
source3/Makefile.in
source3/lib/util_str.c
source3/stf/strings.py
source3/torture/t_strstr.c [new file with mode: 0644]