]> git.ipfire.org Git - thirdparty/mdadm.git/blame - tests/06name
Add 'quite' option and tidy up some tests.
[thirdparty/mdadm.git] / tests / 06name
CommitLineData
947fd4dd
NB
1set -x
2
3# create an array with a name
4
dab6685f
NB
5mdadm -CR $md0 -l0 -n2 --metadata=1 --name="Fred" $dev0 $dev1
6mdadm -E $dev0 | grep 'Name : Fred$' > /dev/null || exit 1
7mdadm -D $md0 | grep 'Name : Fred$' > /dev/null || exit 1
8mdadm -S $md0
9
10mdadm -A $md0 --name="Fred" $devlist
11mdadm -Db $md0
12mdadm -S $md0
947fd4dd 13