summaryrefslogtreecommitdiffstats
path: root/nserver/tests/protocol_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'nserver/tests/protocol_tests.c')
-rw-r--r--nserver/tests/protocol_tests.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/nserver/tests/protocol_tests.c b/nserver/tests/protocol_tests.c
index 96450be..8309686 100644
--- a/nserver/tests/protocol_tests.c
+++ b/nserver/tests/protocol_tests.c
@@ -86,6 +86,17 @@ char *test_ssdump()
return NULL;
}
+char *test_sslist()
+{
+ char *ks = sslist();
+ mu_assert(ks != NULL, "sslist failed");
+ mu_assert(strlen(ks) == 19, "length check failed");
+
+ debug("KEYS:\n %s", ks);
+
+ return NULL;
+}
+
char *test_ssdelete()
{
int rc = 0;
@@ -110,6 +121,7 @@ char *all_tests()
mu_run_test(test_sssample);
mu_run_test(test_ssmean);
mu_run_test(test_ssdump);
+ mu_run_test(test_sslist);
mu_run_test(test_ssdelete);
return NULL;