|
|
40251c |
From 616ab06147e174ac69b2e1cfff73e4519058676c Mon Sep 17 00:00:00 2001
|
|
|
40251c |
From: Eric Garver <eric@garver.life>
|
|
|
40251c |
Date: Tue, 10 Dec 2019 10:18:00 -0500
|
|
|
40251c |
Subject: [PATCH 09/37] test: check-container: add support for debian sid
|
|
|
40251c |
|
|
|
40251c |
(cherry picked from commit be2a4c06c7bc7fcf9efc710ffc459b2a24118457)
|
|
|
40251c |
(cherry picked from commit f7252214a08c33c81bb613514e24af95dc2ed096)
|
|
|
40251c |
---
|
|
|
40251c |
src/tests/Makefile.am | 19 ++++++++++++++++++-
|
|
|
40251c |
1 file changed, 18 insertions(+), 1 deletion(-)
|
|
|
40251c |
|
|
|
40251c |
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
|
|
|
40251c |
index 84c076c847b0..4939fb818459 100644
|
|
|
40251c |
--- a/src/tests/Makefile.am
|
|
|
40251c |
+++ b/src/tests/Makefile.am
|
|
|
40251c |
@@ -42,6 +42,23 @@ $(TESTSUITE): $(TESTSUITE_FILES) $(srcdir)/package.m4
|
|
|
40251c |
$(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
|
|
|
40251c |
mv $@.tmp $@
|
|
|
40251c |
|
|
|
40251c |
-check-container:
|
|
|
40251c |
+check-container-debian-sid:
|
|
|
40251c |
+ (cd $(abs_top_srcdir) && tar -c . ) | \
|
|
|
40251c |
+ $(PODMAN) run -i --rm --privileged debian:sid bash -c \
|
|
|
40251c |
+ "mkdir -p /tmp/firewalld && cd /tmp/firewalld && tar -x && \
|
|
|
40251c |
+ apt-get update && \
|
|
|
40251c |
+ apt-get install -y autoconf automake pkg-config intltool libglib2.0-dev \
|
|
|
40251c |
+ xsltproc docbook-xsl docbook-xml iptables ipset ebtables \
|
|
|
40251c |
+ nftables libxml2-utils libdbus-1-dev libgirepository1.0-dev \
|
|
|
40251c |
+ python3-dbus python3-gi python3-slip-dbus python3-nftables \
|
|
|
40251c |
+ procps && \
|
|
|
40251c |
+ apt-get install -y libnftables-dev && \
|
|
|
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 |
|
|
|
40251c |
.PHONY: check-container
|
|
|
40251c |
+.PHONY: check-container-debian-sid
|
|
|
40251c |
--
|
|
|
40251c |
2.23.0
|
|
|
40251c |
|