summaryrefslogtreecommitdiff
path: root/tests/test_dns_naptr.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2015-04-06 21:54:53 +0000
committerMark Michelson <mmichelson@digium.com>2015-04-06 21:54:53 +0000
commit79fb8c32a6d507a458e284f46a0f4794c52b8b93 (patch)
tree5265b02c6df26856c9f1761157e8aba4cf65631d /tests/test_dns_naptr.c
parentfc314cb43fe0404cccb2dae48d9ae790fbe47c4b (diff)
Uncomment test case.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_dns_naptr.c')
-rw-r--r--tests/test_dns_naptr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dns_naptr.c b/tests/test_dns_naptr.c
index da9fa7e82..1aaac674b 100644
--- a/tests/test_dns_naptr.c
+++ b/tests/test_dns_naptr.c
@@ -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;