From dad85b68b233763431966e9a8a26ceff32d34cd0 Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Tue, 30 Jul 2024 23:57:55 +0200 Subject: [PATCH] setup_test: don't enable landlock Signed-off-by: Morten Linderud --- cmd/sbctl/setup_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/sbctl/setup_test.go b/cmd/sbctl/setup_test.go index 7cf0651..2ec1b60 100644 --- a/cmd/sbctl/setup_test.go +++ b/cmd/sbctl/setup_test.go @@ -34,6 +34,9 @@ func TestSetup(t *testing.T) { conf := config.DefaultConfig() + // Disable landlock + conf.Landlock = false + // Include test file into our file config conf.Files = []*config.FileConfig{ {"/boot/test.efi", "/boot/new.efi"}, @@ -123,6 +126,9 @@ func TestSetupTPMKeys(t *testing.T) { conf := config.DefaultConfig() + // Disable landlock + conf.Landlock = false + // Set PK to be a TPM key conf.Keys.PK.Type = "tpm" conf.Keys.KEK.Type = "tpm"