diff options
author | Miloslav Trmač <mitr@redhat.com> | 2020-03-21 00:10:59 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2020-03-21 00:21:59 +0100 |
commit | 8153ea358a82c044abfd2fa575c2cbf7e441fd2c (patch) | |
tree | 0325890abe27ecb0dd66fe6dd1d2fb7c53ec1953 /libpod/lock/shm/shm_lock_test.go | |
parent | d48b0b5131905d1eec427feadd514eb8a423d3a1 (diff) | |
download | podman-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.go | 2 |
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 ( |