libbpf / libbpf-rs

Minimal and opinionated eBPF tooling for the Rust ecosystem
Other
788 stars 138 forks source link

Use proper temporary file in object_type_from_fd() test #926

Closed d-e-s-o closed 3 months ago

d-e-s-o commented 3 months ago

Use a proper temporary file inside the object_type_from_fd() test, instead of relying on the temporary directory being /tmp/ and hard coding that fact.