mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
refractor(test): move aa-test to tests/cmd/
This commit is contained in:
parent
30859c8170
commit
c852fd3a01
@ -14,7 +14,7 @@ import (
|
|||||||
"github.com/arduino/go-paths-helper"
|
"github.com/arduino/go-paths-helper"
|
||||||
"github.com/roddhjav/apparmor.d/pkg/aa"
|
"github.com/roddhjav/apparmor.d/pkg/aa"
|
||||||
"github.com/roddhjav/apparmor.d/pkg/logging"
|
"github.com/roddhjav/apparmor.d/pkg/logging"
|
||||||
oss "github.com/roddhjav/apparmor.d/pkg/os"
|
bcfg "github.com/roddhjav/apparmor.d/pkg/prebuild/cfg"
|
||||||
"github.com/roddhjav/apparmor.d/tests/integration"
|
"github.com/roddhjav/apparmor.d/tests/integration"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ func testDeps(dryRun bool) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deps := tSuite.GetDependencies()
|
deps := tSuite.GetDependencies()
|
||||||
switch oss.Distribution {
|
switch bcfg.Distribution {
|
||||||
case "arch":
|
case "arch":
|
||||||
arg := []string{"pacman", "-Sy", "--noconfirm"}
|
arg := []string{"pacman", "-Sy", "--noconfirm"}
|
||||||
arg = append(arg, deps...)
|
arg = append(arg, deps...)
|
Loading…
Reference in New Issue
Block a user