Adapt a gating test to annobin 10.56

Since 10.56, annocheck needs to be told how to handle symlinks. This
particular test was developed for the "follow symlinks" behaviour so
let's add --follow-links. However, while being here, checking on the
other code path wouldn't hurt so let's look at it, too.
This commit is contained in:
Václav Kadlčík 2022-03-07 10:40:58 +01:00
parent ac454f15f0
commit 1301bfec6a
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ rlJournalStart
# rules / policies, and the surrounding OS will evolve too. This test
# shouldn't report false positives though.
rlRun "rpm -qf /usr/lib64/libstdc++.so*"
rlRun "annocheck --skip-all /usr/lib64/libstdc++.so*"
rlRun "annocheck --follow-links --skip-all /usr/lib64/libstdc++.so*"
rlRun "annocheck --ignore-links --skip-all /usr/lib64/libstdc++.so*"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd