Files
secret/script
sneak 666e2438b0
check / check (push) Successful in 1m48s
Make the tests fast under the race detector (closes #120)
Deriving keys from passphrases with scrypt, slow on purpose, took most
of the test time under -race. secret.ScryptWorkFactor, when not zero,
replaces age's work factor when a passphrase encrypts; the tests of
internal/secret, internal/vault and internal/cli set it to 1 in
TestMain, and the program never sets it.

TestRemovalAsksWithoutHoldingLock and TestFailedCommandReleasesLock
time the in-memory lock all tests share, so they no longer run in
parallel. TestConcurrentAddsKeepEveryVersion and
TestGetCommandOutputsToStdout time nothing and now do.

The script/cibuild comment no longer says tests are skipped without
its memlock ulimit.

Model: opus-5-5
2026-10-06 01:17:43 +00:00
..
2026-07-07 02:13:44 +02:00
2026-07-07 02:13:44 +02:00
2026-07-07 02:13:44 +02:00
2026-07-07 02:13:44 +02:00