teknoraver / rpms / systemd

Forked from rpms/systemd a month ago
Clone

Blame SOURCES/0203-test-systemctl-enable-disable-the-test-for-a-for-now.patch

594167
From 9b0a2632fd060e0c7b13eabb5ad87f623237eef9 Mon Sep 17 00:00:00 2001
594167
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
594167
Date: Mon, 28 Mar 2022 20:20:09 +0200
594167
Subject: [PATCH] test-systemctl-enable: disable the test for %a for now
594167
594167
(cherry picked from commit 5c29de29b43829ba09967b05ae2f136356c8c0d2)
594167
594167
Related: #2082131
594167
---
594167
 test/test-systemctl-enable.sh | 4 +++-
594167
 1 file changed, 3 insertions(+), 1 deletion(-)
594167
594167
diff --git a/test/test-systemctl-enable.sh b/test/test-systemctl-enable.sh
594167
index 8eb2828e35..ac1bcc1cc7 100644
594167
--- a/test/test-systemctl-enable.sh
594167
+++ b/test/test-systemctl-enable.sh
594167
@@ -567,7 +567,9 @@ EOF
594167
     islink "$root/etc/systemd/system/target@$1:$2.socket" "some-some-link6@.socket" || return 2
594167
 }
594167
 
594167
-check_alias a "$(uname -m | tr '_' '-')"
594167
+# TODO: our architecture names are different than what uname -m returns.
594167
+# Add something like 'systemd-detect-virt --print-architecture' and use it here.
594167
+check_alias a "$(uname -m | tr '_' '-')" || :
594167
 
594167
 test ! -e "$root/etc/os-release"
594167
 test ! -e "$root/usr/lib/os-release"