don't test dns_name_concatenate(), since all the test did was return UNTESTED.

This commit is contained in:
Michael Graff
2000-06-15 19:03:53 +00:00
parent 2193d51910
commit 0177adc4f8
+6
View File
@@ -2451,6 +2451,9 @@ t_dns_name_towire(void) {
t_dns_name_towire_2();
}
#if 0 /* This is silly. A test should either exist, or not, but not
* one that just returns "UNTESTED."
*/
static const char *a53 =
"dns_name_concatenate(prefix, suffix, name, target) "
"concatenates prefix and suffix, stores the result "
@@ -2462,6 +2465,7 @@ t_dns_name_concatenate(void) {
t_assert("dns_name_concatenate", 1, T_REQUIRED, a53);
t_result(T_UNTESTED);
}
#endif
testspec_t T_testlist[] = {
{ t_dns_label_countbits, "dns_label_countbits" },
@@ -2485,7 +2489,9 @@ testspec_t T_testlist[] = {
{ t_dns_name_towire, "dns_name_towire" },
{ t_dns_name_fromtext, "dns_name_fromtext" },
{ t_dns_name_totext, "dns_name_totext" },
#if 0
{ t_dns_name_concatenate, "dns_name_concatenate" },
#endif
{ NULL, NULL }
};