Skip to content

Commit

Permalink
tests/syscalls_file: rename syncmarker for consistency with suite
Browse files Browse the repository at this point in the history
All other tests use "syncmarker".  Reword user message for consistency.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
rgbriggs authored and pcmoore committed Aug 28, 2024
1 parent 9d2ddc2 commit 1c58880
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/syscalls_file/test
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ if ( defined $ENV{ATS_DEBUG} && $ENV{ATS_DEBUG} == 1 ) {
}

# make sure the records had a chance to bubble through to the logs
system("auditctl -m sync-$key");
system("auditctl -m syncmarker-$key");
for ( my $i = 0 ; $i < 10 ; $i++ ) {
if ( system("ausearch -m USER 2> /dev/null | grep -q sync-$key") eq 0 ) {
if (
system("ausearch -m USER 2> /dev/null | grep -q syncmarker-$key") eq 0 )
{
last;
}
sleep(0.2);
Expand Down

0 comments on commit 1c58880

Please sign in to comment.