]> git.pld-linux.org Git - packages/parted.git/blob - 0084-tests-fix-t6100-mdraid-partitions.patch
- release 6 (by relup.sh)
[packages/parted.git] / 0084-tests-fix-t6100-mdraid-partitions.patch
1 From ddb9cce8a2ec87cdd9853bdca25c852c7aee8bdf Mon Sep 17 00:00:00 2001
2 From: Phillip Susi <psusi@ubuntu.com>
3 Date: Fri, 4 May 2018 10:35:42 -0400
4 Subject: [PATCH 84/92] tests: fix t6100-mdraid-partitions
5
6 The test was failing because it didn't wait for the md device
7 to appear after creating it.
8 ---
9  tests/t6100-mdraid-partitions.sh | 1 +
10  1 file changed, 1 insertion(+)
11
12 diff --git a/tests/t6100-mdraid-partitions.sh b/tests/t6100-mdraid-partitions.sh
13 index dbb1686..b37cddf 100755
14 --- a/tests/t6100-mdraid-partitions.sh
15 +++ b/tests/t6100-mdraid-partitions.sh
16 @@ -47,6 +47,7 @@ cleanup_fn_() {
17  
18  # create mdraid on top of both partitions
19  mdadm -C $md_dev --force -R -l1 -n2 "${scsi_dev}1" "${scsi_dev}2"
20 +wait_for_dev_to_appear_ ${md_dev} || { fail=1; cat /proc/partitions; }
21  
22  # create gpt and two partitions on the raid device
23  parted -s $md_dev mklabel gpt \
24 -- 
25 2.17.1
26
This page took 0.021669 seconds and 3 git commands to generate.