diff options
author | NeilBrown <neilb@suse.de> | 2008-11-04 11:56:36 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-11-04 11:56:36 +0100 |
commit | a7d307da935631f8b9f7bbae16db297d30dc21b9 (patch) | |
tree | 99597b39f48c79fb1080fa42c661612eef3232bb | |
parent | test: always start with a clean slate. (diff) | |
download | mdadm-a7d307da935631f8b9f7bbae16db297d30dc21b9.tar.xz mdadm-a7d307da935631f8b9f7bbae16db297d30dc21b9.zip |
tests/06name: adjust for homehost
Now that we set homehost by default, adjust teh 06name test
accordingly.
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | tests/06name | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/06name b/tests/06name index 9c749f27..26d2300a 100644 --- a/tests/06name +++ b/tests/06name @@ -3,8 +3,8 @@ set -x # create an array with a name mdadm -CR $md0 -l0 -n2 --metadata=1 --name="Fred" $dev0 $dev1 -mdadm -E $dev0 | grep 'Name : Fred$' > /dev/null || exit 1 -mdadm -D $md0 | grep 'Name : Fred$' > /dev/null || exit 1 +mdadm -E $dev0 | grep 'Name : [^:]*:Fred ' > /dev/null || exit 1 +mdadm -D $md0 | grep 'Name : [^:]*:Fred ' > /dev/null || exit 1 mdadm -S $md0 mdadm -A $md0 --name="Fred" $devlist |