summaryrefslogtreecommitdiff
path: root/tests/07testreshape5
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-06-27 16:11:40 +1000
committerNeil Brown <neilb@suse.de>2008-06-27 16:11:40 +1000
commitbfd8831d1a20b3065c39a5f88fe86faef51b7800 (patch)
treeaeaf859e8a3b3f9e28275c3d0aa0df5b2bf9f016 /tests/07testreshape5
parent0aa389dc6232370241d6efa811e7fbc59c0dd2a7 (diff)
Some more cleanup of tests.
Don't use '$mdadm', just 'mdadm'. And --stop all arrays when finished.
Diffstat (limited to 'tests/07testreshape5')
-rw-r--r--tests/07testreshape54
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/07testreshape5 b/tests/07testreshape5
index 8f56a72f..44d5ddc0 100644
--- a/tests/07testreshape5
+++ b/tests/07testreshape5
@@ -20,7 +20,7 @@ do
# test restore: make a raid5 from a file, then do a compare
dd if=/dev/urandom of=/tmp/RandFile bs=1024 count=$size
$dir/test_stripe restore /tmp/RandFile $disks $[chunk*1024] 5 $nlayout 0 $[size*1024] $devs
- $mdadm -CR $md0 -amd -l5 -n$disks --assume-clean -c $chunk -p $layout $devs
+ mdadm -CR $md0 -amd -l5 -n$disks --assume-clean -c $chunk -p $layout $devs
cmp -s -n $[size*1024] $md0 /tmp/RandFile || { echo cmp failed ; exit 2; }
# FIXME check parity
@@ -30,7 +30,7 @@ do
> /tmp/NewRand
$dir/test_stripe save /tmp/NewRand $disks $[chunk*1024] 5 $nlayout 0 $[size*1024] $devs
cmp -s -n $[size*1024] $md0 /tmp/NewRand || { echo cmp failed ; exit 2; }
- $mdadm -S $md0
+ mdadm -S $md0
done
done
done