diff options
Diffstat (limited to 'tools/regression/zfs/zpool/create/automount.t')
-rw-r--r-- | tools/regression/zfs/zpool/create/automount.t | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/regression/zfs/zpool/create/automount.t b/tools/regression/zfs/zpool/create/automount.t new file mode 100644 index 0000000..175f2ab --- /dev/null +++ b/tools/regression/zfs/zpool/create/automount.t @@ -0,0 +1,22 @@ +#!/bin/sh +# $FreeBSD$ + +dir=`dirname $0` +. ${dir}/../../misc.sh + +echo "1..5" + +disks_create 1 +names_create 1 + +expect_fl is_mountpoint /${name0} +expect_ok ${ZPOOL} create ${name0} ${disk0} +if [ -z "${no_mountpoint}" ]; then + expect_ok is_mountpoint /${name0} +else + expect_fl is_mountpoint /${name0} +fi +expect_ok ${ZPOOL} destroy ${name0} +expect_fl is_mountpoint /${name0} + +disks_destroy |