1 // dn_expand should accept empty name (single \0)
8 unsigned char packet
[] = "";
12 /* empty name in packet */
13 r
= dn_expand(packet
, packet
+1, packet
, name
, 1);
15 t_error("dn_expand(\"\", name, 1) returned %d, wanted 1\n", r
);
17 t_error("dn_expand(\"\", name, 1) failed: got \"%s\" name, wanted \"\"\n", name
);