Skip to content

Commit

Permalink
Skip test-admin-deploy-uboot.sh on s390x
Browse files Browse the repository at this point in the history
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: ostreedev/ostree#3086
Forwarded: no

Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-admin-deploy-uboot.sh-on-s390x.patch
  • Loading branch information
smcv committed Dec 8, 2023
1 parent 33e3b2c commit 6c2a3a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test-admin-deploy-uboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@

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.
Expand Down

0 comments on commit 6c2a3a1

Please sign in to comment.