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"