vdevs="/dev/label/zp/test/[${test##*zpool-mirror-}]" setup() { zpool create -O mountpoint="${scratch}" test mirror ${vdevs} zpool status } teardown() { zpool destroy test clean_scratch }