-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tests apparmor platform dependent
- Loading branch information
1 parent
21f2fbd
commit de47285
Showing
3 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...profiles_in_enforce_complain_mode/tests/correct_all_apparmor_profiles_in_complain.pass.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
# platform: package[apparmor] | ||
|
||
#Replace apparmor definitions | ||
apparmor_parser -q -r /etc/apparmor.d/ | ||
|
1 change: 1 addition & 0 deletions
1
..._profiles_in_enforce_complain_mode/tests/correct_all_apparmor_profiles_in_enforce.pass.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
# platform: package[apparmor] | ||
|
||
#Replace apparmor definitions | ||
apparmor_parser -q -r /etc/apparmor.d/ | ||
|
1 change: 1 addition & 0 deletions
1
..._apparmor_profiles_in_enforce_complain_mode/tests/incorrect_all_apparmor_profiles.fail.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
# platform: package[apparmor] | ||
|
||
#Configure the OS to unload all AppArmor profiles | ||
aa-teardown |