lsd: fix sandbox violation in src_test

This commit is contained in:
Alexander Kapshuna 2019-02-21 21:39:32 +03:00
parent 26761cd859
commit 78fad033e5
1 changed files with 7 additions and 0 deletions

View File

@ -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}"
}