public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Friesse <jfriesse@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/corosync-qdevice] rawhide: Fix smoke test
Date: Fri, 04 Sep 2026 10:55:33 GMT [thread overview]
Message-ID: <178851933393.1.1888463847038520809.rpms-corosync-qdevice-a6245f564766@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/corosync-qdevice
Branch : rawhide
Commit : a6245f56476647f23cd1e27ba330509aed7d57f8
Author : Jan Friesse <jfriesse@redhat.com>
Date : 2026-09-04T12:55:15+02:00
Stats : +17/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/corosync-qdevice/c/a6245f56476647f23cd1e27ba330509aed7d57f8?branch=rawhide
Log:
Fix smoke test
Corosync now enforces encryption so fix test to cope with this change.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
---
diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh
index b3d4ad2..0401175 100755
--- a/tests/smoke/runtest.sh
+++ b/tests/smoke/runtest.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# This file was autogenerated at 2026-08-05T09:47:04+02:00 from 9c61d98aafda92e884ffb4f7100908760a36ad9e
+# This file was autogenerated at 2026-09-04T12:48:50+02:00 from 4a8906be01ce1558e78c6ffb775871a96a09ebaa
# Copyright (c) 2019, Red Hat, Inc.
#
@@ -36,6 +36,7 @@ COROSYNC_SYSCONFD="${PREFIX}etc/corosync"
COROSYNC_CONF="${COROSYNC_SYSCONFD}/corosync.conf"
COROSYNC_AUTHKEY="${COROSYNC_SYSCONFD}/authkey"
COROSYNC_CLUSTER_NAME="smoketestcluster"
+COROSYNC_ENFORCE_ENCRYPTION=true
TOKEN_TIMEOUT=1000
MAX_REPEATS=60
@@ -209,7 +210,7 @@ test_qdevice_start() {
}
test_corosync_start() {
- generate_corosync_conf "off" "" "on" > "$COROSYNC_CONF"
+ generate_corosync_conf "on" "" "on" > "$COROSYNC_CONF"
cat "$COROSYNC_CONF"
service_start "corosync"
@@ -317,6 +318,18 @@ test_qdevice_qnetd_man_pages() {
done
}
+test_corosync_keygen() {
+ rm -f "$COROSYNC_AUTHKEY"
+ corosync-keygen
+
+ # File exists
+ [ -f "$COROSYNC_AUTHKEY" ]
+
+ # ... and is not empty (wc format is "SIZE FILENAME" - remove FILENAME part)
+ wc_res=$(wc -c "$COROSYNC_AUTHKEY")
+ [ "${wc_res%% *}" -gt 0 ]
+}
+
########
# main #
########
@@ -332,6 +345,8 @@ test_qdevice_qnetd_man_pages
test_crt_creation
+test_corosync_keygen
+
test_qnetd_start
test_corosync_start
next reply other threads:[~2026-09-04 10:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 10:55 Jan Friesse [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-08-05 7:50 [rpms/corosync-qdevice] rawhide: Fix smoke test Jan Friesse
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=178851933393.1.1888463847038520809.rpms-corosync-qdevice-a6245f564766@fedoraproject.org \
--to=jfriesse@redhat.com \
--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