[Xorp-cvs] XORP cvs commit: xorp/bgp xorp/bgp/harness xorp/libproto xorp/libxorp xorp/ospf

Atanu Ghosh atanu@icir.org
Wed, 29 Mar 2006 22:41:25 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	atanu@xorpc.icir.org	2006-03-29 22:41:25 UTC

XORP CVS repository


Modified files:
	bgp           test_main.cc test_packet_coding.cc 
	              test_peer_data.cc 
	bgp/harness   test_trie.cc 
	libproto      test_spt.cc 
	libxorp       test_main.hh test_profile.cc test_test_main.cc 
	ospf          test_build_lsa_main.cc test_checksum.cc 
	              test_packet.cc test_peering.cc test_routing.cc 
	              test_routing_table.cc 

Log message:
	The TestMain class that is used by a number of the test programs was
	attempting to hide the configuration of the xlog subsystem. The
	routines are C not C++ so the state of the xlog subsystem is hidden in
	static variables. If the TestMain class initialises the xlog subsystem
	the static variables are local to TestMain and call to xlog functions
	outside of the test class were failing.
	
	Remove the xlog subsystem from the TestMain class and require the test
	programs to configure the xlog subsystem.

Revision  Changes                                Path
1.21      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/bgp/harness/test_trie.cc
1.18      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/bgp/test_main.cc
1.14      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/bgp/test_packet_coding.cc
1.16      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/bgp/test_peer_data.cc
1.12      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/libproto/test_spt.cc
1.14      +5 -37;  commitid: 13c21442b0d117ea6;  xorp/libxorp/test_main.hh
1.7       +9 -1;  commitid: 13c21442b0d117ea6;   xorp/libxorp/test_profile.cc
1.12      +10 -1;  commitid: 13c21442b0d117ea6;  xorp/libxorp/test_test_main.cc
1.4       +9 -1;  commitid: 13c21442b0d117ea6;   xorp/ospf/test_build_lsa_main.cc
1.7       +9 -1;  commitid: 13c21442b0d117ea6;   xorp/ospf/test_checksum.cc
1.39      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/ospf/test_packet.cc
1.52      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/ospf/test_peering.cc
1.20      +9 -1;  commitid: 13c21442b0d117ea6;   xorp/ospf/test_routing.cc
1.6       +9 -1;  commitid: 13c21442b0d117ea6;   xorp/ospf/test_routing_table.cc