Commit 0595f84
committed
md/rc: use --run option instead of "echo y"
As explained in the commit 0e7aabe ("md/002: use --run option
instead of "echo y""), "echo y" and pipe no longer work with the mdadm
command since mdadm version 4.4. The commit fixed this problem. However,
when the commit cefc428 ("md/rc: add _md_atomics_test") introduced
the helper function _md_atomics_test to factor out the test content in
md/002, the fix was not propagated. Then, md/002 and md/003 do not work
with mdadm version 4.4 again.
Fix it again by using --run option instead of "echo y".
Fixes: cefc428 ("md/rc: add _md_atomics_test")
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>1 parent bf5d3fa commit 0595f84
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
0 commit comments