Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/cddl/zfs/tests/cli_root/zdb/zdb_test.sh
Show All 24 Lines | |||||
# Use is subject to license terms. | # Use is subject to license terms. | ||||
# | # | ||||
atf_test_case zdb_001_neg cleanup | atf_test_case zdb_001_neg cleanup | ||||
zdb_001_neg_head() | zdb_001_neg_head() | ||||
{ | { | ||||
atf_set "descr" "Execute zdb using invalid parameters." | atf_set "descr" "Execute zdb using invalid parameters." | ||||
atf_set "require.progs" zdb | atf_set "require.progs" "ksh93 zdb" | ||||
} | } | ||||
zdb_001_neg_body() | zdb_001_neg_body() | ||||
{ | { | ||||
. $(atf_get_srcdir)/../../../include/default.cfg | . $(atf_get_srcdir)/../../../include/default.cfg | ||||
. $(atf_get_srcdir)/zdb.cfg | . $(atf_get_srcdir)/zdb.cfg | ||||
verify_disk_count "$DISKS" 1 | verify_disk_count "$DISKS" 1 | ||||
ksh93 $(atf_get_srcdir)/setup.ksh || atf_fail "Setup failed" | ksh93 $(atf_get_srcdir)/setup.ksh || atf_fail "Setup failed" | ||||
Show All 16 Lines |