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