ZFS: the hotspare_add_004_neg test needs at least two disks

MFC after:	2 weeks
Sponsored by:	Axcient
This commit is contained in:
Alan Somers 2019-10-05 01:34:35 +00:00
parent 289850db1c
commit 7d4670b647
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353117

View File

@ -115,7 +115,7 @@ hotspare_add_004_neg_body()
. $(atf_get_srcdir)/hotspare.kshlib
. $(atf_get_srcdir)/hotspare.cfg
verify_disk_count "$DISKS" 1
verify_disk_count "$DISKS" 2
ksh93 $(atf_get_srcdir)/setup.ksh || atf_fail "Setup failed"
ksh93 $(atf_get_srcdir)/hotspare_add_004_neg.ksh || atf_fail "Testcase failed"
}