Commit 96737f05 authored by Niels Möller's avatar Niels Möller
Browse files

(test_main): Include the leading

"(tag ..." in the tested expressions.

Rev: src/testsuite/spki-tag-test.c:1.2
parent 8db03bb9
......@@ -5,16 +5,16 @@ test_main(void)
{
/* Examples taken from RFC-2693 */
test_spki_grant("1",
S("(3:ftp13:ftp.clark.net3:cme(1:*3:set4:read5:write))"),
S("(3:ftp13:ftp.clark.net3:cme4:read)"));
S("(3:tag(3:ftp13:ftp.clark.net3:cme(1:*3:set4:read5:write)))"),
S("(3:tag(3:ftp13:ftp.clark.net3:cme4:read))"));
test_spki_deny("2",
S("(3:ftp13:ftp.clark.net3:cme(1:*3:set4:read5:write))"),
S("(3:ftp13:ftp.clark.net3:cme6:delete)"));
S("(3:tag(3:ftp13:ftp.clark.net3:cme(1:*3:set4:read5:write)))"),
S("(3:tag(3:ftp13:ftp.clark.net3:cme6:delete))"));
test_spki_deny("3",
S("(3:ftp13:ftp.clark.net3:cme(1:*3:set4:read5:write))"),
S("(3:ftp13:ftp.clark.net3:cme)"));
S("(3:tag(3:ftp13:ftp.clark.net3:cme(1:*3:set4:read5:write)))"),
S("(3:tag(3:ftp13:ftp.clark.net3:cme))"));
SUCCESS();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment