changeset 141:4e671e8dcae8

Fix broken test
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 16 Dec 2009 17:26:50 +0900
parents 34e47f4addf8
children dee0a871abcd
files freeDiameter/tests/testcnx.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/freeDiameter/tests/testcnx.c	Wed Dec 16 17:20:31 2009 +0900
+++ b/freeDiameter/tests/testcnx.c	Wed Dec 16 17:26:50 2009 +0900
@@ -1334,7 +1334,7 @@
 		CHECK( 1, (cert_list_size > 0) ? 1 : 0 );
 		/* We could also verify that the cert_list really contains the client_cert and ca certificates */
 		
-
+		#if 0 /* The following are broken since we filter local addresses */
 		/* fd_cnx_getendpoints */
 		fd_list_init(&local, NULL);		
 		fd_list_init(&remote, NULL);
@@ -1356,6 +1356,7 @@
 		CHECK( 0, FD_IS_LIST_EMPTY(&remote) ? 1 : 0 );
 		CHECK( &local, local.next->next );
 		CHECK( &remote, remote.next->next );
+		#endif 
 		
 		/* fd_cnx_getremoteid */
 		str = fd_cnx_getremoteid(server_side);
@@ -1451,6 +1452,7 @@
 		/* We could also verify that the cert_list really contains the client_cert and ca certificates */
 		
 
+		#if 0 /* The following are broken since we filter local addresses */
 		/* fd_cnx_getendpoints */
 		fd_list_init(&local, NULL);		
 		fd_list_init(&remote, NULL);
@@ -1472,6 +1474,7 @@
 		CHECK( 0, FD_IS_LIST_EMPTY(&remote) ? 1 : 0 );
 		CHECK( &local, local.next->next );
 		CHECK( &remote, remote.next->next );
+		#endif 
 		
 		/* fd_cnx_getremoteid */
 		str = fd_cnx_getremoteid(server_side);
"Welcome to our mercurial repository"