forked from hasufell/hasufell-repository
lsd: fix sandbox violation in src_test
This commit is contained in:
parent
26761cd859
commit
78fad033e5
@ -17,3 +17,10 @@ DEPENDENCIES="
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
src_test() {
|
||||
local test_socket="unix:${TEMP}/test_socket_type.*/socket.tmp"
|
||||
esandbox allow_net --bind "${test_socket}"
|
||||
cargo_src_test
|
||||
esandbox disallow_net "${test_socket}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user