From 1301bfec6a160df7faea600a0818b611914cddae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Mon, 7 Mar 2022 10:40:58 +0100 Subject: [PATCH] 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. --- .../runtest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh index d15547c..6603c3c 100755 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh +++ b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh @@ -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