diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-21 10:39:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-21 10:39:37 +0000 |
commit | a43b8ec092ffafe934ee79fc5947cf2ecab068ae (patch) | |
tree | 1d6e57902f97aa2caf5c067aff4f0de456727de6 | |
parent | 69907fcb13161dff44a42de599097cef9a5a6a09 (diff) | |
download | alpine_aports-a43b8ec092ffafe934ee79fc5947cf2ecab068ae.tar.bz2 alpine_aports-a43b8ec092ffafe934ee79fc5947cf2ecab068ae.tar.xz alpine_aports-a43b8ec092ffafe934ee79fc5947cf2ecab068ae.zip |
main/parted: add missing patch
-rw-r--r-- | main/parted/skip-duplicate-bsd-test-on-s390x.patch | 16 |
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 @@ | |||
1 | diff --git a/tests/t0501-duplicate.sh b/tests/t0501-duplicate.sh | ||
2 | index 66d321a..0520131 100644 | ||
3 | --- a/tests/t0501-duplicate.sh | ||
4 | +++ b/tests/t0501-duplicate.sh | ||
5 | @@ -18,7 +18,11 @@ | ||
6 | |||
7 | . "${srcdir=.}/init.sh"; path_prepend_ ../parted . | ||
8 | |||
9 | +arch=$(uname -m) | ||
10 | for t in msdos gpt bsd; do | ||
11 | + if [ "$t" = bsd ] && [ "$arch" = "s390x" ]; then | ||
12 | + continue | ||
13 | + fi | ||
14 | duplicate $t || fail=1 | ||
15 | done | ||
16 | |||