pkg/parsers/operatingsystem: Disable tests on FreeBSD

These are testing things like /etc/os-release and cgroups which are
linux-only.  Note: /etc/os-release does exist on FreeBSD but
GetOperatingSystem is implemented using uname.

Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
Doug Rabson 2022-09-23 17:07:58 +01:00
parent 544b12d197
commit acd039fd29
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
//go:build linux || freebsd //go:build linux
// +build linux freebsd // +build linux
package operatingsystem package operatingsystem