8f615e462d
- Fix warnings from GCC 7's -Wimplicit-fallthrough (dann.frazier) - ped_unit_get_name: Resolve conflicting attributes 'const' and 'pure' (dann.frazier) - Add udf to t1700-probe-fs and to the manpage (bcl) - libparted: Add support for MBR id, GPT GUID and detection of UDF filesystem (pali.rohar) - Fix potential command line buffer overflow (xu.simon) - t6100-mdraid-partitions: Use v0.90 metadata for the test (bcl) - parted.c: Make sure dev_name is freed (bcl) - parted.c: Always free peek_word (bcl) - Fix the length of several strncpy calls (bcl)
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From f0cfa9581f6bd9a1b0d7f0389d3460bcd4ccfde8 Mon Sep 17 00:00:00 2001
|
|
From: "Brian C. Lane" <bcl@redhat.com>
|
|
Date: Mon, 23 Jul 2018 16:07:40 -0700
|
|
Subject: [PATCH 097/103] t6100-mdraid-partitions: Use v0.90 metadata for the
|
|
test
|
|
|
|
Newer metadata types use more disk space, causing the test to fail.
|
|
---
|
|
tests/t6100-mdraid-partitions.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/tests/t6100-mdraid-partitions.sh b/tests/t6100-mdraid-partitions.sh
|
|
index b37cddf..42905fa 100755
|
|
--- a/tests/t6100-mdraid-partitions.sh
|
|
+++ b/tests/t6100-mdraid-partitions.sh
|
|
@@ -45,8 +45,8 @@ cleanup_fn_() {
|
|
mdadm -S $md_dev || warn_ "Failed to stop MD array, $md_dev"
|
|
}
|
|
|
|
-# create mdraid on top of both partitions
|
|
-mdadm -C $md_dev --force -R -l1 -n2 "${scsi_dev}1" "${scsi_dev}2"
|
|
+# create mdraid on top of both partitions with v0.90 metadata
|
|
+mdadm -C $md_dev -e0 --force -R -l1 -n2 "${scsi_dev}1" "${scsi_dev}2"
|
|
wait_for_dev_to_appear_ ${md_dev} || { fail=1; cat /proc/partitions; }
|
|
|
|
# create gpt and two partitions on the raid device
|
|
--
|
|
2.17.2
|
|
|