Message ID | 20250311050327.4889-3-xni@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | mdadm: regression tests fix | expand |
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
20raid5journal can't run successfully Signed-off-by: Xiao Ni <xni@redhat.com> --- tests/20raid5journal.broken | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/20raid5journal.broken