summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhilong Liu <zlliu@suse.com>2018-02-02 14:10:45 +0800
committerJes Sorensen <jsorensen@fb.com>2018-03-08 14:28:03 -0500
commit05e0e58f706b3a88f8617f59a805da54f0eb7e34 (patch)
tree171d91bba94fa91b3008eaa015e4cc45669867d7
parent57908e9ebad21e9ea84d9f54684bae3af8f62604 (diff)
downloadmdadm-05e0e58f706b3a88f8617f59a805da54f0eb7e34.tar.gz
mdadm/test: improve filtering r10 from raid1 in raidtype
Signed-off-by: Zhilong Liu <zlliu@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
-rwxr-xr-xtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/test b/test
index 4ddef38..024cb63 100755
--- a/test
+++ b/test
@@ -183,7 +183,7 @@ parse_args() {
TESTLIST=($(ls $testdir | grep "linear"))
;;
raid1 )
- TESTLIST=($(ls $testdir | grep "[0-9][0-9]r1\|raid1" | grep -vi raid10))
+ TESTLIST=($(ls $testdir | grep "[0-9][0-9]r1\|raid1" | grep -vi "r10\|raid10"))
;;
raid456 )
TESTLIST=($(ls $testdir | grep "[0-9][0-9]r[4-6]\|raid[4-6]"))