svn commit: r292359 - in projects/zfsd/head/tests/sys/cddl/zfs/tests: cli_root/zfs_inherit hotspare

Alan Somers asomers at FreeBSD.org
Wed Dec 16 20:17:58 UTC 2015


Author: asomers
Date: Wed Dec 16 20:17:57 2015
New Revision: 292359
URL: https://svnweb.freebsd.org/changeset/base/292359

Log:
  Minor zfs test suite fixes
  
  tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh
  	Remove space accounting properties from being tested.  They're not
  	strictly controllable from the test.
  
  tests/sys/cddl/zfs/tests/hotspare/hotspare_scrub_002_pos.ksh
  	Fix a typo in a comment.
  
  Submitted by:	Will
  Sponsored by:	Spectra Logic Corp

Modified:
  projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh
  projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_scrub_002_pos.ksh

Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh	Wed Dec 16 20:11:58 2015	(r292358)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh	Wed Dec 16 20:17:57 2015	(r292359)
@@ -57,7 +57,7 @@
 verify_runnable "both"
 
 # Define uninherited properties and their short name.
-typeset props_str="type used available avail creation referenced refer \
+typeset props_str="type creation \
 		compressratio ratio mounted origin quota reservation \
 		reserv volsize volblocksize volblock"
 

Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_scrub_002_pos.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_scrub_002_pos.ksh	Wed Dec 16 20:11:58 2015	(r292358)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_scrub_002_pos.ksh	Wed Dec 16 20:17:57 2015	(r292359)
@@ -78,7 +78,7 @@ function verify_assertion # odev
 	log_must check_state $TESTPOOL "$sdev" "INUSE"
 
 	# corrupt out the $TESTPOOL to make sdev in use
-	# Skip the first input block so we don't override the vdev label
+	# Skip the first input block so we don't overwrite the vdev label
 	log_must $DD if=/dev/zero bs=1024k count=63 oseek=1 conv=notrunc of=$sdev
 
 	$SYNC


More information about the svn-src-projects mailing list