test(integration): update aa-test.
This commit is contained in:
parent
972b08e74c
commit
4d0ccebb21
3 changed files with 67 additions and 31 deletions
|
|
@ -139,4 +139,3 @@ func (t *Test) run(cmdline string, in string) error {
|
|||
}
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -106,3 +106,11 @@ func (t *TestSuite) Results() string {
|
|||
aaLogs := logs.NewApparmorLogs(file, "")
|
||||
return aaLogs.String()
|
||||
}
|
||||
|
||||
func (t *TestSuite) GetDependencies() []string {
|
||||
res := []string{}
|
||||
for _, test := range t.Tests {
|
||||
res = append(res, test.Dependencies...)
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue