MCPcopy Create free account
hub / github.com/clawshell/clawshell / test_ensure_runtime_dirs

Function test_ensure_runtime_dirs

src/process.rs:91–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90 #[test]
91 fn test_ensure_runtime_dirs() {
92 let root = VfsPath::new(vfs::MemoryFS::new());
93 ensure_runtime_dirs_vfs(&root).unwrap();
94
95 let log_parent = log_file_vfs(&root).unwrap().parent();
96 assert!(log_parent.exists().unwrap());
97 }
98
99 #[test]
100 fn test_drop_privileges_no_clawshell_user() {

Callers

nothing calls this directly

Calls 2

ensure_runtime_dirs_vfsFunction · 0.85
log_file_vfsFunction · 0.85

Tested by

no test coverage detected