Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/cddl/zfs/tests/grow_pool/grow_pool_test.sh
Show All 24 Lines | |||||
# Use is subject to license terms. | # Use is subject to license terms. | ||||
# | # | ||||
atf_test_case grow_pool_001_pos cleanup | atf_test_case grow_pool_001_pos cleanup | ||||
grow_pool_001_pos_head() | grow_pool_001_pos_head() | ||||
{ | { | ||||
atf_set "descr" "A zpool may be increased in capacity by adding a disk" | atf_set "descr" "A zpool may be increased in capacity by adding a disk" | ||||
atf_set "require.progs" zfs zpool | atf_set "require.progs" "ksh93 zfs zpool" | ||||
} | } | ||||
grow_pool_001_pos_body() | grow_pool_001_pos_body() | ||||
{ | { | ||||
. $(atf_get_srcdir)/../../include/default.cfg | . $(atf_get_srcdir)/../../include/default.cfg | ||||
. $(atf_get_srcdir)/grow_pool.cfg | . $(atf_get_srcdir)/grow_pool.cfg | ||||
verify_disk_count "$DISKS" 2 | verify_disk_count "$DISKS" 2 | ||||
ksh93 $(atf_get_srcdir)/setup.ksh || atf_fail "Setup failed" | ksh93 $(atf_get_srcdir)/setup.ksh || atf_fail "Setup failed" | ||||
Show All 16 Lines |