summaryrefslogtreecommitdiffstats
path: root/tests/04r0update
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-08-15 08:14:27 +0200
committerNeil Brown <neilb@suse.de>2005-08-15 08:14:27 +0200
commitdab6685f3d9982b697d938d99737897ea8ac768c (patch)
treef68788b7c36feabc151e96d622dffd44644fbbac /tests/04r0update
parentAdd a test. (diff)
downloadmdadm-dab6685f3d9982b697d938d99737897ea8ac768c.tar.xz
mdadm-dab6685f3d9982b697d938d99737897ea8ac768c.zip
Add 'quite' option and tidy up some tests.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'tests/04r0update')
-rw-r--r--tests/04r0update20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/04r0update b/tests/04r0update
index 73ecbd5e..2a6939df 100644
--- a/tests/04r0update
+++ b/tests/04r0update
@@ -1,18 +1,18 @@
set -e
# create a raid0, re-assemble with a different super-minor
-$mdadm -CR $md0 -l0 -n3 $dev0 $dev1 $dev2
-sh tests/testdev $md0 3 $mdsize0 64
-minor1=`$mdadm -E $dev0 | sed -n -e 's/.*Preferred Minor : //p'`
-$mdadm -S /dev/md0
+mdadm -CR $md0 -l0 -n3 $dev0 $dev1 $dev2
+testdev $md0 3 $mdsize0 64
+minor1=`mdadm -E $dev0 | sed -n -e 's/.*Preferred Minor : //p'`
+mdadm -S /dev/md0
-$mdadm -A $md1 $dev0 $dev1 $dev2
-minor2=`$mdadm -E $dev0 | sed -n -e 's/.*Preferred Minor : //p'`
-$mdadm -S /dev/md1
+mdadm -A $md1 $dev0 $dev1 $dev2
+minor2=`mdadm -E $dev0 | sed -n -e 's/.*Preferred Minor : //p'`
+mdadm -S /dev/md1
-$mdadm -A $md1 --update=super-minor $dev0 $dev1 $dev2
-minor3=`$mdadm -E $dev0 | sed -n -e 's/.*Preferred Minor : //p'`
-$mdadm -S /dev/md1
+mdadm -A $md1 --update=super-minor $dev0 $dev1 $dev2
+minor3=`mdadm -E $dev0 | sed -n -e 's/.*Preferred Minor : //p'`
+mdadm -S /dev/md1
case "$minor1 $minor2 $minor3" in
"0 0 1" ) ;;