Skip to content

Commit

Permalink
ZFS: the hotspare_add_004_neg test needs at least two disks
Browse files Browse the repository at this point in the history
MFC after:	2 weeks
Sponsored by:	Axcient
  • Loading branch information
asomers committed Oct 5, 2019
1 parent 5dab8f3 commit dd4596e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sys/cddl/zfs/tests/hotspare/hotspare_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit dd4596e

Please sign in to comment.