]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/zfs/zpool/add/doesnt_exist.t
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / regression / zfs / zpool / add / doesnt_exist.t
1 #!/bin/sh
2 # $FreeBSD$
3
4 dir=`dirname $0`
5 . ${dir}/../../misc.sh
6
7 echo "1..6"
8
9 disks_create 1
10 names_create 1
11
12 expect_fl ${ZPOOL} add ${name0} ${disk0}
13 expect_fl ${ZPOOL} status -x ${name0}
14 expect_fl ${ZPOOL} destroy ${name0}
15
16 expect_fl ${ZPOOL} add -f ${name0} ${disk0}
17 expect_fl ${ZPOOL} status -x ${name0}
18 expect_fl ${ZPOOL} destroy ${name0}
19
20 disks_destroy