summaryrefslogtreecommitdiff
path: root/repo/parted/skip-duplicate-bsd-test-on-s390x.patch
blob: 6920ee2c9a231b78d9575357ab433ca4575f2613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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