From a43b8ec092ffafe934ee79fc5947cf2ecab068ae Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 21 Jun 2018 10:39:02 +0000 Subject: main/parted: add missing patch --- main/parted/skip-duplicate-bsd-test-on-s390x.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 main/parted/skip-duplicate-bsd-test-on-s390x.patch (limited to 'main/parted') 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 + -- cgit v1.2.3