diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 01:50:25 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 01:50:25 +0200 |
| commit | ecb1f1e92ab449023d1427f9db26c5bac09c4901 (patch) | |
| tree | 5af48da0cac32e2927aa5e2946c9f08173fedb69 /tests | |
| parent | e4b6decf72a91453bc8d31b4b15e7aed923c56d2 (diff) | |
Use new entropy fascility and add tests for it
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/runner.c | 1 | ||||
| -rw-r--r-- | tests/test.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.c b/tests/runner.c index d73c516..1b6deb1 100644 --- a/tests/runner.c +++ b/tests/runner.c | |||
| @@ -17,6 +17,7 @@ struct module { | |||
| 17 | static const struct module modules[] = {{"scan_urlencoded_query", test_scan_urlencoded_query}, | 17 | static const struct module modules[] = {{"scan_urlencoded_query", test_scan_urlencoded_query}, |
| 18 | {"ot_iovec", test_iovec}, | 18 | {"ot_iovec", test_iovec}, |
| 19 | {"ot_vector", test_vector}, | 19 | {"ot_vector", test_vector}, |
| 20 | {"ot_random", test_random}, | ||
| 20 | {NULL, NULL}}; | 21 | {NULL, NULL}}; |
| 21 | 22 | ||
| 22 | /* Run every module, or only those whose name contains argv[1] */ | 23 | /* Run every module, or only those whose name contains argv[1] */ |
diff --git a/tests/test.h b/tests/test.h index 941e058..19acb2f 100644 --- a/tests/test.h +++ b/tests/test.h | |||
| @@ -79,5 +79,6 @@ extern unsigned long test_failures; | |||
| 79 | void test_scan_urlencoded_query(void); | 79 | void test_scan_urlencoded_query(void); |
| 80 | void test_iovec(void); | 80 | void test_iovec(void); |
| 81 | void test_vector(void); | 81 | void test_vector(void); |
| 82 | void test_random(void); | ||
| 82 | 83 | ||
| 83 | #endif | 84 | #endif |
