Really skip test-admin-deploy-uboot.sh on s390x
authorSimon McVittie <smcv@debian.org>
Mon, 6 Nov 2023 09:44:29 +0000 (09:44 +0000)
committerSimon McVittie <smcv@debian.org>
Mon, 6 Nov 2023 09:44:29 +0000 (09:44 +0000)
debian/patches/debian/Skip-test-admin-deploy-uboot.sh-on-s390x.patch

index f79722f1b7007f035062c065b755363386374bc3..f147aa5f01e87632b91d21a5d1774a791c995d73 100644 (file)
@@ -12,14 +12,14 @@ Forwarded: no
  1 file changed, 5 insertions(+)
 
 diff --git a/tests/test-admin-deploy-uboot.sh b/tests/test-admin-deploy-uboot.sh
-index 9a4d773..2f1809f 100755
+index 9a4d773..772e51d 100755
 --- a/tests/test-admin-deploy-uboot.sh
 +++ b/tests/test-admin-deploy-uboot.sh
 @@ -20,6 +20,11 @@
  
  set -euo pipefail
  
-+if [ "${DEB_HOST_ARCH-}" = s390x ]; then
++if [ "${DEB_HOST_ARCH-$(dpkg --print-architecture)}" = s390x ]; then
 +  echo "1..0 # SKIP uBoot not supported on s390x"
 +  exit 0
 +fi