summaryrefslogtreecommitdiff
path: root/libpod/lock/shm/shm_lock_test.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2020-03-21 00:10:59 +0100
committerMiloslav Trmač <mitr@redhat.com>2020-03-21 00:21:59 +0100
commit8153ea358a82c044abfd2fa575c2cbf7e441fd2c (patch)
tree0325890abe27ecb0dd66fe6dd1d2fb7c53ec1953 /libpod/lock/shm/shm_lock_test.go
parentd48b0b5131905d1eec427feadd514eb8a423d3a1 (diff)
downloadpodman-8153ea358a82c044abfd2fa575c2cbf7e441fd2c.tar.gz
podman-8153ea358a82c044abfd2fa575c2cbf7e441fd2c.tar.bz2
podman-8153ea358a82c044abfd2fa575c2cbf7e441fd2c.zip
Make libpod/lock/shm completely Linux-only
If the tests are not Linux-only, (go test ./...) still tries to build and test the package. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'libpod/lock/shm/shm_lock_test.go')
-rw-r--r--libpod/lock/shm/shm_lock_test.go2
1 files changed, 2 insertions, 0 deletions
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 (