diff options
author | Simon South <simon@simonsouth.net> | 2021-09-02 11:04:23 -0400 |
---|---|---|
committer | Simon South <simon@simonsouth.net> | 2021-09-28 11:06:52 -0400 |
commit | 1a10948260d915d4982415e37dd6495bca9ef545 (patch) | |
tree | 462df8333e8bfdc4ecc15dc0b5c66c5d5ef7e1a9 /src/test/test.c | |
parent | 3bc3a108955c7b25a13808a2cfefcc77d2364cf4 (diff) | |
download | tor-1a10948260d915d4982415e37dd6495bca9ef545.tar.gz tor-1a10948260d915d4982415e37dd6495bca9ef545.zip |
test: Add sandbox unit tests
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 0aa1353ec2..c38d78da30 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -52,6 +52,7 @@ #include "core/crypto/onion_fast.h" #include "core/crypto/onion_tap.h" #include "core/or/policies.h" +#include "lib/sandbox/sandbox.h" #include "app/config/statefile.h" #include "lib/crypt_ops/crypto_curve25519.h" #include "feature/nodelist/networkstatus.h" @@ -732,6 +733,9 @@ struct testgroup_t testgroups[] = { { "routerkeys/", routerkeys_tests }, { "routerlist/", routerlist_tests }, { "routerset/" , routerset_tests }, +#ifdef USE_LIBSECCOMP + { "sandbox/" , sandbox_tests }, +#endif { "scheduler/", scheduler_tests }, { "sendme/", sendme_tests }, { "shared-random/", sr_tests }, |