From 6d84e663c4aca848a7ba48ab11a68f29990b4da8 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 10 Dec 2021 13:14:44 +0000 Subject: [PATCH] CI Gating: Rpminspect setup for files and shellsyntax tests --- rpminspect.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/rpminspect.yaml b/rpminspect.yaml index bd456b0..3e3876d 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -1,7 +1,15 @@ +--- emptyrpm: -   expected_empty: -      - systemtap + # The systemtap subrpm only is a metapackage requiring other + # packages. An empty payload there is expected. + expected_empty: + - systemtap shellsyntax: - ignore: - - /usr/share/systemtap/examples* - - /usr/share/systemtap/testsuite* + # The following files are systemtap scripts, not shell scripts. + # Skip the shell syntax checks for systemtap scripts. + ignore: + - /usr/share/systemtap/examples/stapgames/2048.stp + - /usr/share/systemtap/testsuite/semko/autocast10.stp + - /usr/share/systemtap/testsuite/semok/autocast10.stp + - /usr/share/systemtap/testsuite/parseko/autocast02.stp + - /usr/share/systemtap/testsuite/systemtap.examples/stapgames/2048.stp