aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-21 10:39:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-21 10:39:37 +0000
commita43b8ec092ffafe934ee79fc5947cf2ecab068ae (patch)
tree1d6e57902f97aa2caf5c067aff4f0de456727de6
parent69907fcb13161dff44a42de599097cef9a5a6a09 (diff)
downloadaports-a43b8ec092ffafe934ee79fc5947cf2ecab068ae.tar.gz
aports-a43b8ec092ffafe934ee79fc5947cf2ecab068ae.tar.bz2
aports-a43b8ec092ffafe934ee79fc5947cf2ecab068ae.tar.xz
main/parted: add missing patch
-rw-r--r--main/parted/skip-duplicate-bsd-test-on-s390x.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/parted/skip-duplicate-bsd-test-on-s390x.patch b/main/parted/skip-duplicate-bsd-test-on-s390x.patch
new file mode 100644
index 0000000000..6920ee2c9a
--- /dev/null
+++ b/main/parted/skip-duplicate-bsd-test-on-s390x.patch
@@ -0,0 +1,16 @@
+diff --git a/tests/t0501-duplicate.sh b/tests/t0501-duplicate.sh
+index 66d321a..0520131 100644
+--- a/tests/t0501-duplicate.sh
++++ b/tests/t0501-duplicate.sh
+@@ -18,7 +18,11 @@
+
+ . "${srcdir=.}/init.sh"; path_prepend_ ../parted .
+
++arch=$(uname -m)
+ for t in msdos gpt bsd; do
++ if [ "$t" = bsd ] && [ "$arch" = "s390x" ]; then
++ continue
++ fi
+ duplicate $t || fail=1
+ done
+