Skip to content

Conversation

@kyrofa
Copy link
Contributor

@kyrofa kyrofa commented Jun 21, 2016

More progress on LP: #1586465. Also add Spread tests to verify profile generation for both apps and hooks.

Also add Spread tests to verify profile generation for both apps and
hooks.

Updates: #1586465

Signed-off-by: Kyle Fazzari <kyle@canonical.com>

for profile in snap.basic-binaries.block snap.basic-binaries.cat snap.basic-binaries.echo snap.basic-binaries.fail snap.basic-binaries.success
do
[ -f "$seccomp_profile_directory/$profile" ] || exit 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is duplicating the whole logic just to add this additional line, it seems? Can we just add this one line into the other test and rename it to security-profiles?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, you're right. Done.

@niemeyer
Copy link
Contributor

A note about test duplication and then LGTM.

@mvo5
Copy link
Contributor

mvo5 commented Jun 23, 2016

👍

@mvo5 mvo5 merged commit a953ba1 into canonical:master Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants