Skip test-admin-deploy-uboot.sh on s390x
authorSimon McVittie <smcv@debian.org>
Thu, 26 Oct 2023 10:26:04 +0000 (11:26 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 11 Feb 2024 14:42:35 +0000 (14:42 +0000)
It fails on a porterbox. ostree hard-codes zipl to be used on s390x,
so it's reasonable that tests for other bootloaders might not work.

Bug: https://github.com/ostreedev/ostree/issues/3086
Forwarded: no

Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-admin-deploy-uboot.sh-on-s390x.patch

tests/test-admin-deploy-uboot.sh

index 9a4d773b37e3e4b1557e8d0ba0cb573024f82cd1..772e51d3f23fce3a2b977f808c2863ccedcb0937 100755 (executable)
 
 set -euo pipefail
 
+if [ "${DEB_HOST_ARCH-$(dpkg --print-architecture)}" = s390x ]; then
+  echo "1..0 # SKIP uBoot not supported on s390x"
+  exit 0
+fi
+
 . $(dirname $0)/libtest.sh
 
 # Exports OSTREE_SYSROOT so --sysroot not needed.