]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm/test: correct the logic operation in save_log
authorZhilong Liu <zlliu@suse.com>
Tue, 16 Jan 2018 09:45:02 +0000 (17:45 +0800)
committerJes Sorensen <jsorensen@fb.com>
Sun, 21 Jan 2018 21:36:08 +0000 (16:36 -0500)
commited5e31aa21bf0ec2d2fe541c3b2458262fc8eae0
tree76ae322e2d4e4ccbaf8604f80f0d47e7d7c17d17
parent3bf9495270d7cd00da942e183dc5f7c7eb68ff69
mdadm/test: correct the logic operation in save_log

1. delete the mdadm -As, keep the original testing scene intact.
2. move some actions into 'array' test, 'mdadm -D $array' would
   complain errors if $array is null.

Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
test