]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - tests/06wrmostly
Add 'quite' option and tidy up some tests.
[thirdparty/mdadm.git] / tests / 06wrmostly
index 51fff60d280f4ec1abb10c172625bb522659e10b..929610cc74dee0b36e09e84d380bd48ad87b82c4 100644 (file)
@@ -2,14 +2,14 @@ set -e
 
 # create a raid1 array with a wrmostly device
 
-$mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
-sh tests/testdev $md0 1 $mdsize0 64
+mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
+testdev $md0 1 $mdsize0 64
 
 # unfortunately, we cannot measure if any read requests are going to $dev2
 
-$mdadm -S $md0
+mdadm -S $md0
 
-$mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2
-sh tests/testdev $md0 1 $mdsize0 64
-$mdadm -S $md0
+mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2
+testdev $md0 1 $mdsize0 64
+mdadm -S $md0