[PATCH 2/4] mdadm/tests: Mark 20raid5journal fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



20raid5journal can't run successfully

Signed-off-by: Xiao Ni <xni@xxxxxxxxxx>
---
 tests/20raid5journal.broken | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 tests/20raid5journal.broken

diff --git a/tests/20raid5journal.broken b/tests/20raid5journal.broken
new file mode 100644
index 000000000000..c7b214af5f9f
--- /dev/null
+++ b/tests/20raid5journal.broken
@@ -0,0 +1,17 @@
+always fail
+
+++ /usr/sbin/mdadm -I /dev/loop4
+++ rv=0
+++ case $* in
+++ cat /var/tmp/stderr
+mdadm: /dev/loop4 attached to /dev/md/0_0, which has been started.
+++ return 0
+++ check raid5
+++ case $1 in
+++ grep -sq 'active raid5 ' /proc/mdstat
+++ die 'active raid5 not found'
+++ echo -e '\n\tERROR: active raid5 not found \n'
+
+        ERROR: active raid5 not found
+
+++ save_log fail
-- 
2.32.0 (Apple Git-132)





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux