changeset 1251:bdd7bf840c8d

Validated previous fix, seems to work
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 13 Jan 2014 16:11:00 +0100
parents 446683efbb1f
children 5c6e94202c64
files tests/testmesg.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testmesg.c	Sun Jan 12 23:01:21 2014 +0800
+++ b/tests/testmesg.c	Mon Jan 13 16:11:00 2014 +0100
@@ -1013,6 +1013,12 @@
 					CHECK(1, got_h2);
 				}
 				
+				/* Now test the behavior of fd_msg_rescode_set with a grouped AVP */
+				CHECK( 0, fd_msg_rescode_set(msg, "DIAMETER_AVP_OCCURS_TOO_MANY_TIMES", NULL, pi1, 1) );
+				
+				fd_log_debug("%s", fd_msg_dump_treeview(FD_DUMP_TEST_PARAMS, msg, fd_g_config->cnf_dict, 0, 1));
+				
+				TODO("Check the Failed-AVP is as expected");
 			}
 			
 		}
"Welcome to our mercurial repository"