[asterisk-commits] mmichelson: trunk r434170 - /trunk/tests/test_dns_naptr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 6 16:54:55 CDT 2015


Author: mmichelson
Date: Mon Apr  6 16:54:53 2015
New Revision: 434170

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=434170
Log:
Uncomment test case.


Modified:
    trunk/tests/test_dns_naptr.c

Modified: trunk/tests/test_dns_naptr.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_dns_naptr.c?view=diff&rev=434170&r1=434169&r2=434170
==============================================================================
--- trunk/tests/test_dns_naptr.c (original)
+++ trunk/tests/test_dns_naptr.c Mon Apr  6 16:54:53 2015
@@ -389,7 +389,7 @@
 		{ 400, 100, {3, "A32"}, {4, "BLAH"}, {0, ""}, "goose.down" },
 		/* Records with valid but unusual services */
 		{ 100, 700, {0, ""}, {0, ""}, {0, ""}, "goose.down" },
-		//{ 500, 100, {1, "A"}, {42, "A+B12+C+D+EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE"}, {0, ""}, "goose.down" },
+		{ 500, 102, {1, "A"}, {42, "A+B12+C+D+EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE"}, {0, ""}, "goose.down" },
 		{ 500, 100, {1, "A"}, {14, "A+B12+C+D+EEEE"}, {0, ""}, "goose.down" },
 		/* Records with valid regexes (regexes are always unusual) */
 		{ 500, 101, {1, "A"}, {4, "BLAH"}, {15, "!.*!horse.mane!"}, "" },
@@ -398,7 +398,7 @@
 		{ 700, 999, {1, "A"}, {4, "BLAH"}, {30, "!(.)(.)(.)(.)!\\1.m.\\2.n\\3.o\\4!"}, "" },
 	};
 
-	int naptr_record_order[] = { 9, 3, 5, 0, 2, 1, 4, 8, 6, 7, 10};
+	int naptr_record_order[] = { 10, 3, 5, 0, 2, 1, 4, 9, 7, 8, 6, 11};
 	enum ast_test_result_state res = AST_TEST_PASS;
 	int i;
 




More information about the asterisk-commits mailing list