From 8153ea358a82c044abfd2fa575c2cbf7e441fd2c Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 21 Mar 2020 00:10:59 +0100 Subject: Make libpod/lock/shm completely Linux-only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the tests are not Linux-only, (go test ./...) still tries to build and test the package. Signed-off-by: Miloslav Trmač --- libpod/lock/shm/shm_lock_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpod/lock/shm/shm_lock_test.go b/libpod/lock/shm/shm_lock_test.go index 830035881..41a150c59 100644 --- a/libpod/lock/shm/shm_lock_test.go +++ b/libpod/lock/shm/shm_lock_test.go @@ -1,3 +1,5 @@ +// +build linux + package shm import ( -- cgit v1.2.3-54-g00ecf