1#!/bin/sh 2# $FreeBSD$ 3 4dir=`dirname $0` 5. ${dir}/../../misc.sh 6 7echo "1..5" 8 9disks_create 1 10names_create 1 11 12expect_fl is_mountpoint /${name0} 13expect_ok ${ZPOOL} create ${name0} ${disk0} 14if [ -z "${no_mountpoint}" ]; then 15 expect_ok is_mountpoint /${name0} 16else 17 expect_fl is_mountpoint /${name0} 18fi 19expect_ok ${ZPOOL} destroy ${name0} 20expect_fl is_mountpoint /${name0} 21 22disks_destroy 23