From 492c5a37dd3d51328859970b4b2f192f24a8f791 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 22 Mar 2024 14:08:44 +0000 Subject: [PATCH] refractor: move integration code to the test directory. --- cmd/aa-test/main.go | 2 +- {pkg => tests}/integration/paths.go | 0 {pkg => tests}/integration/scenario.go | 0 {pkg => tests}/integration/suite.go | 0 {pkg => tests}/integration/tldr.go | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename {pkg => tests}/integration/paths.go (100%) rename {pkg => tests}/integration/scenario.go (100%) rename {pkg => tests}/integration/suite.go (100%) rename {pkg => tests}/integration/tldr.go (100%) diff --git a/cmd/aa-test/main.go b/cmd/aa-test/main.go index 5ab05ff70..a0de0d00d 100644 --- a/cmd/aa-test/main.go +++ b/cmd/aa-test/main.go @@ -13,9 +13,9 @@ import ( "github.com/arduino/go-paths-helper" "github.com/roddhjav/apparmor.d/pkg/aa" - "github.com/roddhjav/apparmor.d/pkg/integration" "github.com/roddhjav/apparmor.d/pkg/logging" oss "github.com/roddhjav/apparmor.d/pkg/os" + "github.com/roddhjav/apparmor.d/tests/integration" ) const usage = `aa-test [-h] [--bootstrap | --run | --list] diff --git a/pkg/integration/paths.go b/tests/integration/paths.go similarity index 100% rename from pkg/integration/paths.go rename to tests/integration/paths.go diff --git a/pkg/integration/scenario.go b/tests/integration/scenario.go similarity index 100% rename from pkg/integration/scenario.go rename to tests/integration/scenario.go diff --git a/pkg/integration/suite.go b/tests/integration/suite.go similarity index 100% rename from pkg/integration/suite.go rename to tests/integration/suite.go diff --git a/pkg/integration/tldr.go b/tests/integration/tldr.go similarity index 100% rename from pkg/integration/tldr.go rename to tests/integration/tldr.go