LibXML and XPath
This morning at work I finished the parsing of the config file for the VFS module with libxml and using Xpath expressions. It's so easy to navigate in a XML tree using XPath and get the nodeset values.
The trouble is still you have to compile the module over Samba and is ABI dependent so I have some troubles trying to use other external libraries with the autotools/libtool stuff, I don't know if the trouble is the generated shared object library or the libtool stuff is missing to add the libxml2, I'm beginning to hate autotools but although I'm using lib_LIBADD, LDADD or LDFLAGS, it's ignoring me and the 'ldd sambamodule.so' doesn't show anything about 'libxml'.
Anyway the stuff is compiling, so is hard to debug all the code in Samba and see why is crashing with the new xml config parser.
Automated Testing Frameworks
In the evening, I have been looking some interesting tools for automated testing. Here are the more interesting tools I have found:
STP/PLM: Automated testing of kernel patch trees or single patches.
Some STP Client API calls are in the Perl modules (DiskHandler.pm, Oprofile.pm and Tools.pm) like: create_disk_layout, setup_tools, create_logic_volume, make_one_disk, check_profile, report_all, os_detect, etc..
Tests: aim9/reaim, bonnie++, dbench, DBT*, DOTS, hackbench, contest, iozone, lmbench, LTP, memtest, pgmeter, tiobench, VM_Regress..
Sourceforge Compile Farm
Test Execution Wrapper (TEX)