svn commit: r353117 - head/tests/sys/cddl/zfs/tests/hotspare

Alan Somers asomers at FreeBSD.org
Sat Oct 5 01:34:36 UTC 2019


Author: asomers
Date: Sat Oct  5 01:34:35 2019
New Revision: 353117
URL: https://svnweb.freebsd.org/changeset/base/353117

Log:
  ZFS: the hotspare_add_004_neg test needs at least two disks
  
  MFC after:	2 weeks
  Sponsored by:	Axcient

Modified:
  head/tests/sys/cddl/zfs/tests/hotspare/hotspare_test.sh

Modified: head/tests/sys/cddl/zfs/tests/hotspare/hotspare_test.sh
==============================================================================
--- head/tests/sys/cddl/zfs/tests/hotspare/hotspare_test.sh	Fri Oct  4 22:10:38 2019	(r353116)
+++ head/tests/sys/cddl/zfs/tests/hotspare/hotspare_test.sh	Sat Oct  5 01:34:35 2019	(r353117)
@@ -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"
 }


More information about the svn-src-all mailing list