Skip to content

Commit

Permalink
Merge pull request #11692 from DimStar77/poo77095
Browse files Browse the repository at this point in the history
apparmor: aa_notify no longer returns with an empty string on a clean log
  • Loading branch information
DimStar77 committed Jan 15, 2021
2 parents ff20480 + b6c1130 commit cc84c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/security/apparmor/aa_notify.pm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ sub run {

assert_script_run "echo > $audit_log";

validate_script_output "aa-notify -l", sub { m/^$/ };
validate_script_output "aa-notify -l", sub { m/^(AppArmor\sdenials:\s+0\s+\(since.*)?$/ };

# Make it failed intentionally to get some audit messages
assert_script_run "sed -i '/\\/etc\\/nscd.conf/d' $tmp_prof/usr.sbin.nscd";
Expand Down

0 comments on commit cc84c48

Please sign in to comment.