Repository navigation
ab60c99
Pre-release
Pre-release
test(selkies): Make the session tests' scratch directories through tempfile
Snyk Code (rust/PT/test, crates/selkies/src/session_screens/testing.rs
on cf69006) traced TMPDIR, read through std::env::temp_dir() in
Scratch::new, into the symlink named_process makes there. Scratch::new
now asks tempfile::Builder for a directory with a random name, made
exclusively and private (0700), in place of a name built from the
clock and a counter; Scratch still removes it on drop.
scratch_directories_made_at_once_are_distinct and the session_screens
and session_density tests pass.