Date: Tue Mar 9 11:15:44 2004 Author: abartlet Update of /home/cvs/samba/source/stf In directory dp.samba.org:/tmp/cvs-serv22938/stf
Modified Files: Tag: SAMBA_3_0 strings.py Log Message: 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 Revisions: strings.py 1.2.2.3 => 1.2.2.4 http://www.samba.org/cgi-bin/cvsweb/samba/source/stf/strings.py.diff?r1=1.2.2.3&r2=1.2.2.4