1
0
forked from wrenn/wrenn

test(envd): add 136 unit tests across 12 modules

Cover all pure-function modules with inline #[cfg(test)] blocks:
crypto (NIST/RFC 4231 known-answer vectors), auth (SecureToken ops,
signature generation/validation), conntracker (snapshot lifecycle),
execcontext, util (AtomicMax concurrent correctness), http/encoding
(RFC 7231 negotiation), port/conn (/proc/net/tcp parsing),
rpc/entry (format_permissions), and permissions/path (tilde expansion,
ensure_dirs). Add tempfile dev-dep for filesystem tests. Update
Makefile test target to include cargo test.
This commit is contained in:
2026-05-13 10:39:54 +06:00
parent ead406bdac
commit 485be22a16
15 changed files with 1125 additions and 16 deletions

1
envd-rs/Cargo.lock generated
View File

@ -543,6 +543,7 @@ dependencies = [
"sha2",
"subtle",
"sysinfo",
"tempfile",
"tokio",
"tokio-util",
"tower",