Skip to content
Snippets Groups Projects
Commit 93e30fbb authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Disabled wrong response test.

Adding empty NSID data is completely legal. It is however a matter
of discussion if the function should add the EDNS OPTION or not.
parent afae6708
No related branches found
No related tags found
No related merge requests found
......@@ -388,14 +388,14 @@ static int test_response_add_nsid()
errors++;
}
lived = 1;
lived = 0;
if (knot_response_add_nsid(response, nsid,
0) != KNOT_EBADARG) {
diag("Calling response add nsid with zero size "
"did not return KNOT_EBADARG");
errors++;
}
lived = 1;
// lived = 0;
// if (knot_response_add_nsid(response, nsid,
// 0) != KNOT_EBADARG) {
// diag("Calling response add nsid with zero size "
// "did not return KNOT_EBADARG");
// errors++;
// }
// lived = 1;
}, "response: add nsid NULL tests");
errors += lived != 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment