MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / test_setgid

Function test_setgid

tests/thread/id.rs:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23#[cfg(feature = "process")]
24#[test]
25fn test_setgid() {
26 thread::set_thread_gid(process::getgid()).unwrap();
27}
28
29#[cfg(feature = "process")]
30#[test]

Callers

nothing calls this directly

Calls 2

set_thread_gidFunction · 0.85
getgidFunction · 0.50

Tested by

no test coverage detected