summaryrefslogtreecommitdiffstats
path: root/test/test-systemctl-enable.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-28 20:20:09 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-29 16:17:57 +0200
commit5c29de29b43829ba09967b05ae2f136356c8c0d2 (patch)
treea4ce47ea6fb71672123100f655b356802310c885 /test/test-systemctl-enable.sh
parenttest-systemctl-enable: also use freshly-built systemd-id128 (diff)
downloadsystemd-5c29de29b43829ba09967b05ae2f136356c8c0d2.tar.xz
systemd-5c29de29b43829ba09967b05ae2f136356c8c0d2.zip
test-systemctl-enable: disable the test for %a for now
Diffstat (limited to 'test/test-systemctl-enable.sh')
-rw-r--r--test/test-systemctl-enable.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-systemctl-enable.sh b/test/test-systemctl-enable.sh
index 8eb2828e35..ac1bcc1cc7 100644
--- a/test/test-systemctl-enable.sh
+++ b/test/test-systemctl-enable.sh
@@ -567,7 +567,9 @@ EOF
islink "$root/etc/systemd/system/target@$1:$2.socket" "some-some-link6@.socket" || return 2
}
-check_alias a "$(uname -m | tr '_' '-')"
+# TODO: our architecture names are different than what uname -m returns.
+# Add something like 'systemd-detect-virt --print-architecture' and use it here.
+check_alias a "$(uname -m | tr '_' '-')" || :
test ! -e "$root/etc/os-release"
test ! -e "$root/usr/lib/os-release"