Lines Matching refs:zpool
38 # zpool create -R works as expected
45 # 5. Verify that no reference to the pool is found in /etc/zfs/zpool.cache
60 log_assert "zpool create -R works as expected"
69 log_must zpool create -R /${TESTPOOL}.root $TESTPOOL $disk
72 log_fail "Mountpoint was not create when using zpool with -R flag!"
81 log_must zpool get all $TESTPOOL
82 zpool get all $TESTPOOL > /tmp/values.$$
88 log_fail "zpool property \'cachefile\' was not set to \'none\'."
95 log_fail "zpool property root was not found in pool output."
100 # finally, check that the pool has no reference in /etc/zfs/zpool.cache
101 if [[ -f /etc/zfs/zpool.cache ]] ; then
102 REF=$(strings /etc/zfs/zpool.cache | grep ${TESTPOOL})
105 strings /etc/zfs/zpool.cache
106 log_fail "/etc/zfs/zpool.cache appears to have a reference to $TESTPOOL"
111 log_pass "zpool create -R works as expected"