From 78fad033e58e729f650a1cf710eb886c619e0c2b Mon Sep 17 00:00:00 2001 From: Alexander Kapshuna Date: Thu, 21 Feb 2019 21:39:32 +0300 Subject: [PATCH] lsd: fix sandbox violation in src_test --- packages/sys-apps/lsd/lsd-0.12.0.exheres-0 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/sys-apps/lsd/lsd-0.12.0.exheres-0 b/packages/sys-apps/lsd/lsd-0.12.0.exheres-0 index e8b707b..28dd8d5 100644 --- a/packages/sys-apps/lsd/lsd-0.12.0.exheres-0 +++ b/packages/sys-apps/lsd/lsd-0.12.0.exheres-0 @@ -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}" +} + -- 2.45.2