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

Bruce Simpson bms@icir.org
Tue, 4 Apr 2006 09:47:45 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	bms@xorpc.icir.org	2006-04-04 09:47:45 UTC

XORP CVS repository


Modified files:
	bgp/harness   test_peering2.sh 

Log message:
	Fix an edge case in the BGP regression tests.
	With this change, test_peering2.sh will run to completion on Windows.
	
	 Add a note about UNIX to NT path conversion being performed within
	 coord and peer. It is better to perform the path conversion internally
	 in the executable; doing it in the shell script would obscure the
	 definition of the tests themselves.
	
	 Do not use uptime(1) within MSYS as it does not exist.
	
	 The Windows version of runit.exe suffers from the same problem as
	 libxorp/test_run_command; it requires that an intermediate 'cmd.exe'
	 process be run to ensure correct process handle inheritance and command
	 line argument quoting.
	 Therefore, Perform the necessary argument quoting and expansion in a
	 portable way.
	
	Tested on Windows Server 2003 and FreeBSD 6.1.

Revision  Changes                                Path
1.53      +24 -5;  commitid: 11227443240927ea6;  xorp/bgp/harness/test_peering2.sh