]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Uncomment test case.
authorMark Michelson <mmichelson@digium.com>
Mon, 6 Apr 2015 21:54:53 +0000 (21:54 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 6 Apr 2015 21:54:53 +0000 (21:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434170 65c4cc65-6c06-0410-ace0-fbb531ad65f3

tests/test_dns_naptr.c

index da9fa7e82273a203111a38ebe66fc4e5d58275ed..1aaac674b7e5245921a6d4682223edba11c591f7 100644 (file)
@@ -389,7 +389,7 @@ AST_TEST_DEFINE(naptr_resolve_nominal)
                { 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 @@ AST_TEST_DEFINE(naptr_resolve_nominal)
                { 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;