build failure in tests/

Bug ID:263
Project:Openwsman
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:fixed
Description

It appears this set of functions has changed prototypes, however the in-tree test suite was not updated. Fixing this one function is not sufficient, there were several APIs changed nearby.

creating test_associators
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I../.. -I../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/ruby/1.8/x86_64-linux -MT test_selectorfilter.o -MD -MP -MF .deps/test_selectorfilter.Tpo -c -o test_selectorfilter.o test_selectorfilter.c
test_selectorfilter.c: In function 'main':
test_selectorfilter.c:98: error: too many arguments to function 'filter_create_selector'
make[3]: Leaving directory `/builddir/build/BUILD/openwsman-2.1.0/tests/client'
make[3]: *** [test_selectorfilter.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/openwsman-2.1.0/tests'
make[2]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/openwsman-2.1.0'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Updates

#1 submitted by Klaus Kaempf on Tue, 08/18/2009 - 14:29
Status:active» fixed

Fixed in current svn

Fixed in trunk

filter_create_selector dropped the namespace argument, all callees had to be adapted.