One of the hosts I sometimes uses is named "bar.domain", this make one

of the tests pass when it shouldn't.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19761 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-08 12:03:46 +00:00
parent d2f6fecbfb
commit 40bb5c5e23

View File

@@ -59,10 +59,10 @@ static struct testcase {
{"krbtgt", "FOO.SE", "FOO.SE", "FOO.SE", 2,
{"krbtgt", "FOO.SE"}, NULL, 0, 0},
{"foo", "bar", "BAZ", "BAZ", 2,
{"foo", "bar"}, NULL, 0, 0},
{"foo", "bar", "BAZ", "BAZ", 2,
{"foo", "bar"},
{"foo", "bar2", "BAZ", "BAZ", 2,
{"foo", "bar2"}, NULL, 0, 0},
{"foo", "bar2", "BAZ", "BAZ", 2,
{"foo", "bar2"},
"[libdefaults]\n"
" v4_name_convert = {\n"
" host = {\n"
@@ -70,8 +70,8 @@ static struct testcase {
" }\n"
"}\n",
HEIM_ERR_V4_PRINC_NO_CONV, 0},
{"foo", "bar", "BAZ", "BAZ", 2,
{"foo5", "bar.baz"},
{"foo", "bar2", "BAZ", "BAZ", 2,
{"foo5", "bar2.baz"},
"[realms]\n"
" BAZ = {\n"
" v4_name_convert = {\n"