Hi all,

For anyone curious about recent updates in the fwknop git repository,
current development efforts have focused on extending fully automated test
coverage past 90% of all lines of source code.  This has now been achieved
with the help of the "libfiu" fault injection library (see:
http://blitiri.com.ar/p/libfiu/).  Previous to using libfiu, it was
difficult to trigger libc functions like malloc() and have them return
NULL, and it was also difficult in some cases to take an arbitrary function
in the fwknop sources and force an error condition to occur with contrived
tests in the test suite. With libfiu, both of these problems are solved,
and here are the results:

http://www.cipherdyne.org/fwknop/lcov-results/

These results were produce from the "libfiu_fault_injection" branch which
is where all of the latest changes have been committed. This branch will be
merged back to master for the 2.6.3 release in a couple of weeks or so.

The strategy of using libfiu together with valgrind at the same time has
proven to be an effective way to find bugs.  Here is an example:

https://github.com/mrash/fwknop/commit/9f2e01eb0114ee0cb0bc101dda036779c456915d

Thanks,

--Mike
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss

Reply via email to