Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 16:02:54 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r300515 - projects/zfsd/head/tests/sys/cddl/zfs/tests/zfsd
Message-ID:  <201605231602.u4NG2skI084809@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Mon May 23 16:02:54 2016
New Revision: 300515
URL: https://svnweb.freebsd.org/changeset/base/300515

Log:
  Fix zfsd_hotspare_001_pos
  
  tests/sys/cddl/zfs/tests/zfsd/zfsd_hotspare_001_pos.ksh
  	Relax a check_state operation.  It was checking for a divergence
  	"zpool status" output between FreeBSD and SpectraBSD that is
  	probably unintentional.  Now, the test can pass on both FreeBSD and
  	SpectraBSD.
  
  Sponsored by:	Spectra Logic Corp

Modified:
  projects/zfsd/head/tests/sys/cddl/zfs/tests/zfsd/zfsd_hotspare_001_pos.ksh

Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/zfsd/zfsd_hotspare_001_pos.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/zfsd/zfsd_hotspare_001_pos.ksh	Mon May 23 16:02:29 2016	(r300514)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/zfsd/zfsd_hotspare_001_pos.ksh	Mon May 23 16:02:54 2016	(r300515)
@@ -117,8 +117,7 @@ function verify_assertion # type
 	# The standby spare should be in use, while the original spare should
 	# be faulted.
 	log_must check_state $TESTPOOL $standby_spare "online"
-	log_must check_state $TESTPOOL $standby_spare \
-		"INUSE     currently in use"
+	log_must check_state $TESTPOOL $standby_spare "INUSE"
 	log_mustnot check_state $TESTPOOL $fail_spare "online"
 
 	# The zpool history should log when a spare device becomes active



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605231602.u4NG2skI084809>