blob: 8fddf383488c5dd951d991dc9324919b20f687c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
dir=`dirname $0`
. ${dir}/../../misc.sh
echo "1..5"
disks_create 1
names_create 1
expect_fl is_mountpoint /${name0}
exp=`(
echo "would create '${name0}' with the following layout:"
echo " ${name0}"
echo " ${disk0}"
)`
expect "${exp}" ${ZPOOL} create -n ${name0} ${disk0}
expect_fl is_mountpoint /${name0}
expect_fl ${ZPOOL} status -x ${name0}
expect_fl ${ZPOOL} destroy ${name0}
disks_destroy
|