Merge pull request #9234 from oech3/move-runcon-no-reorder

ci: Mark runcon-no-reorder as SELinux required
This commit is contained in:
Sylvestre Ledru 2025-11-12 08:08:59 +01:00 committed by GitHub
commit 404257d5a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,14 @@
--git a/tests/runcon/runcon-no-reorder.sh b/tests/runcon/runcon-no-reorder.sh
index 2027555..956c51e 100644
--- a/tests/runcon/runcon-no-reorder.sh
+++ b/tests/runcon/runcon-no-reorder.sh
@@ -16,6 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+# We don't have runcon buildable without libselinux.
+_require_selinux_
+
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ runcon

View file

@ -11,3 +11,4 @@ tests_tsort.patch
tests_du_move_dir_while_traversing.patch
test_mkdir_restorecon.patch
error_msg_uniq.diff
runcon-no-reorder.patch