From 8577b7314affb0413c2477125da2c335db323d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Fri, 24 Apr 2026 19:04:31 +0200 Subject: [PATCH] Fix tests on non-Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2d3d55df98a37576e0e83e55c667cdcb11ee6a37 made the supported.go file Linux-only, but not the tests; thus they caused compilation errors on other platforms. Make the tests Linux-only as well. Signed-off-by: Miloslav Trmač --- common/pkg/apparmor/internal/supported/supported_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/pkg/apparmor/internal/supported/supported_test.go b/common/pkg/apparmor/internal/supported/supported_test.go index 1c9482eab9..9a31582a4f 100644 --- a/common/pkg/apparmor/internal/supported/supported_test.go +++ b/common/pkg/apparmor/internal/supported/supported_test.go @@ -1,3 +1,5 @@ +//go:build linux + package supported import (