|
|
40251c |
From c9b56988eeee3da0b987adce79536ae4a4f2b6d0 Mon Sep 17 00:00:00 2001
|
|
|
40251c |
From: Eric Garver <eric@garver.life>
|
|
|
40251c |
Date: Tue, 10 Dec 2019 10:15:13 -0500
|
|
|
40251c |
Subject: [PATCH 10/37] test: check-container: add support for fedora rawhide
|
|
|
40251c |
|
|
|
40251c |
(cherry picked from commit 8168904f2dd1ecdec17638854e7630f2ccc90860)
|
|
|
40251c |
(cherry picked from commit 25f35e1c400f68f33773d162d84f9a7af8aa9938)
|
|
|
40251c |
---
|
|
|
40251c |
src/tests/Makefile.am | 18 ++++++++++++++++++
|
|
|
40251c |
1 file changed, 18 insertions(+)
|
|
|
40251c |
|
|
|
40251c |
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
|
|
|
40251c |
index 4939fb818459..cef17b6eba4b 100644
|
|
|
40251c |
--- a/src/tests/Makefile.am
|
|
|
40251c |
+++ b/src/tests/Makefile.am
|
|
|
40251c |
@@ -58,7 +58,25 @@ check-container-debian-sid:
|
|
|
40251c |
make && \
|
|
|
40251c |
make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" "
|
|
|
40251c |
|
|
|
40251c |
+check-container-fedora-rawhide:
|
|
|
40251c |
+ (cd $(abs_top_srcdir) && tar -c . ) | \
|
|
|
40251c |
+ $(PODMAN) run -i --rm --privileged fedora:rawhide bash -c \
|
|
|
40251c |
+ "mkdir -p /tmp/firewalld && cd /tmp/firewalld && tar -x && \
|
|
|
40251c |
+ dnf -y makecache && \
|
|
|
40251c |
+ dnf -y install autoconf automake conntrack-tools desktop-file-utils \
|
|
|
40251c |
+ docbook-style-xsl file gettext glib2-devel intltool ipset \
|
|
|
40251c |
+ iptables iptables-nft libtool libxml2 libxslt make nftables \
|
|
|
40251c |
+ python3-nftables python3-slip-dbus python3-gobject-base \
|
|
|
40251c |
+ diffutils procps-ng iproute which dbus-daemon && \
|
|
|
40251c |
+ alternatives --set ebtables /usr/sbin/ebtables-nft && \
|
|
|
40251c |
+ ./autogen.sh && \
|
|
|
40251c |
+ ./configure PYTHON=/usr/bin/python3 && \
|
|
|
40251c |
+ make && \
|
|
|
40251c |
+ make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" "
|
|
|
40251c |
+
|
|
|
40251c |
check-container: check-container-debian-sid
|
|
|
40251c |
+check-container: check-container-fedora-rawhide
|
|
|
40251c |
|
|
|
40251c |
.PHONY: check-container
|
|
|
40251c |
.PHONY: check-container-debian-sid
|
|
|
40251c |
+.PHONY: check-container-fedora-rawhide
|
|
|
40251c |
--
|
|
|
40251c |
2.23.0
|
|
|
40251c |
|