8d1a0eb
@@ -0,0 +1,26 @@
+ summary: Are all policy interfaces defined correctly?
+ contact: Milos Malik <mmalik@redhat.com>
+ component:
+ - selinux-policy
+ - policycoreutils
+ recommend:
+ - /usr/bin/sepolgen-ifgen
+ - selinux-policy-targeted
+ test: ./runtest.sh
+ framework: beakerlib
+ duration: 10m
+ enabled: true
+ tag:
+ - NoRHEL4
+ - NoRHEL5
+ - targeted
+ link:
+ - verifies: https://issues.redhat.com/browse/RHEL-2616
+ - verifies: https://issues.redhat.com/browse/RHEL-16185
+ adjust:
+ - enabled: false
+ when: distro == rhel-4, rhel-5
+ because: decision was made not to fix the problem there
+ extra-nitrate: TC#0615941
+ id: a6785475-8446-47cc-9167-f2d6ad52d58e
@@ -0,0 +1,20 @@
+ #!/bin/bash
+ # vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
+ . /usr/share/beakerlib/beakerlib.sh || exit 1
+
+ rlJournalStart
+ rlPhaseStartSetup
+ rlAssertRpm selinux-policy
+ rlAssertRpm policycoreutils
+ rlPhaseEnd
+ rlPhaseStartTest "RHEL-2616 + RHEL-16185"
+ rlRun "sepolgen-ifgen -v -d 2>/dev/null | sort | uniq > output.txt"
+ rlRun "grep -i missing output.txt" 1
+ rlPhaseStartCleanup
+ rm -f output.txt
+ rlJournalEnd
TBA later
The TC covers RHEL-2616.
The TC run failed because the same issue (as described in RHEL-2616) is reproducible on Fedora rawhide.
rebased onto c095dd966b44d65da4ad4399a85fc077876052a3
rebased onto 8d1a0eb
Pull-Request has been merged by mmalik
TBA later
The TC covers RHEL-2616.