1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source/torture
Andrew Tridgell 8d4dc99b82 r2744: ben elliston taught me about gcov today, which allows you to measure
the % coverage in terms of lines of code of a test suite. I thought a
good first place to start with gcov was the talloc test suite. When I
started the test suite covered about 60% of all lines of code in
talloc.c, and now it covers about 99%. The only lines not covered are
talloc corruption errors, as that would cause smb_panic() to fire.

It will be interesting to try gcov on the main Samba test suite for
smbd. We won't achieve 100% coverage, but it would be nice to get to
90% or more.

I also modified the talloc.c sources to be able to be build standalone, using:

  gcc -c -D_STANDALONE_ -Iinlcude lib/talloc.c

that should make it much easier to re-use talloc in other projects
2007-10-10 12:59:29 -05:00
..
auth r2645: converted the NTLMSSP code to the new style of talloc 2007-10-10 12:59:16 -05:00
basic r2680: switched the libcli/raw/ code over to use talloc_reference(), which simplifies things quite a bit 2007-10-10 12:59:21 -05:00
ldap r2071: - change smbtorture to use the popt_common stuff 2007-10-10 12:58:23 -05:00
local r2744: ben elliston taught me about gcov today, which allows you to measure 2007-10-10 12:59:29 -05:00
nbench r1654: rename cli_ -> smbcli_ 2007-10-10 12:57:47 -05:00
rap r2671: we're getting too many errors caused by the talloc_realloc() API not 2007-10-10 12:59:20 -05:00
raw r2738: free up the session information as soon as it is invalidated in the 2007-10-10 12:59:28 -05:00
rpc r2710: continue with the new style of providing a parent context whenever 2007-10-10 12:59:25 -05:00
config.m4 r2159: converted samba4 over to UTF-16. 2007-10-10 12:58:27 -05:00
config.mk r2735: More DCOM updates: 2007-10-10 12:59:27 -05:00
gentest.c r2710: continue with the new style of providing a parent context whenever 2007-10-10 12:59:25 -05:00
locktest2.c r2710: continue with the new style of providing a parent context whenever 2007-10-10 12:59:25 -05:00
locktest.c r2710: continue with the new style of providing a parent context whenever 2007-10-10 12:59:25 -05:00
masktest.c r2710: continue with the new style of providing a parent context whenever 2007-10-10 12:59:25 -05:00
msgtest.c more fixes from the IRIX compiler (thanks herb!) 0001-01-01 00:00:00 +00:00
nsstest.c first public release of samba4 code 0001-01-01 00:00:00 +00:00
smbiconv.c Add make rule for smbiconv 0001-01-01 00:00:00 +00:00
t_strcmp.c first public release of samba4 code 0001-01-01 00:00:00 +00:00
torture_util.c r2062: Fix a couple more of the printf warnings (real bugs). 2007-10-10 12:58:23 -05:00
torture.c r2735: More DCOM updates: 2007-10-10 12:59:27 -05:00
vfstest.c first public release of samba4 code 0001-01-01 00:00:00 +00:00
vfstest.h first public release of samba4 code 0001-01-01 00:00:00 +00:00