public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Wouters <paul.wouters@aiven.io>
To: git-commits@fedoraproject.org
Subject: [rpms/libreswan] rawhide: testing: run more upstream tests from _*check
Date: Tue, 25 Aug 2026 19:21:30 GMT [thread overview]
Message-ID: <178768569044.1.7685861062014213509.rpms-libreswan-6ffe6a93fb69@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libreswan
Branch : rawhide
Commit : 6ffe6a93fb69b7cb21e5ea7d1aabbd81c72ab483
Author : Paul Wouters <paul.wouters@aiven.io>
Date : 2026-08-25T15:21:08-04:00
Stats : +10/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libreswan/c/6ffe6a93fb69b7cb21e5ea7d1aabbd81c72ab483?branch=rawhide
Log:
testing: run more upstream tests from _*check
---
diff --git a/libreswan.spec b/libreswan.spec
index b38e06f..4c62740 100644
--- a/libreswan.spec
+++ b/libreswan.spec
@@ -159,10 +159,13 @@ FS=$(pwd)
%{libreswan_config} \
FS=$(pwd)
rm -rf %{buildroot}/usr/share/doc/libreswan
-rm -rf %{buildroot}%{_libexecdir}/ipsec/*check
-# avoids python depency and are old / aging tools that are not very useful
-rm -rf %{buildroot}%{_libexecdir}/ipsec/show
-rm -rf %{buildroot}%{_libexecdir}/ipsec/verify
+mkdir %{_builddir}/check
+mv %{buildroot}%{_libexecdir}/ipsec/*check %{_builddir}/check/
+# _ipcheck needs network, so remove it.
+rm %{_builddir}/check/_ipcheck
+# some tests needs custom options
+rm %{_builddir}/check/_seedbitscheck
+rm %{_builddir}/check/_ttodatacheck
install -d -m 0755 %{buildroot}%{_rundir}/pluto
install -d %{buildroot}%{_sbindir}
@@ -199,6 +202,9 @@ bunzip2 *.fax.bz2
%{buildroot}%{_libexecdir}/ipsec/algparse --tp || { echo prooposal test failed; exit 1; }
%{buildroot}%{_libexecdir}/ipsec/algparse --ta || { echo algorithm test failed; exit 1; }
: Algorithm parser tests passed
+for t in %{_builddir}/check/_*check; do
+ $t || { echo $t test failed; exit 1; }
+done
# self test for pluto daemon - this also shows which algorithms it allows in FIPS mode
tmpdir=$(mktemp -d /tmp/libreswan-XXXXX)
reply other threads:[~2026-08-25 19:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178768569044.1.7685861062014213509.rpms-libreswan-6ffe6a93fb69@fedoraproject.org \
--to=paul.wouters@aiven.io \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox