svn commit: r292306 - projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create

Alan Somers asomers at FreeBSD.org
Wed Dec 16 00:23:00 UTC 2015


Author: asomers
Date: Wed Dec 16 00:22:58 2015
New Revision: 292306
URL: https://svnweb.freebsd.org/changeset/base/292306

Log:
  tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh
  	Remove unnecessary 'zfs list' invocation.  Pool destroys aren't
  	asynchronous, so the comment was wrong.
  
  Submitted by:	Will
  Sponsored by:	Spectra Logic Corp

Modified:
  projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh

Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh	Wed Dec 16 00:22:14 2015	(r292305)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh	Wed Dec 16 00:22:58 2015	(r292306)
@@ -105,8 +105,6 @@ function setup_vdevs #<disk> 
 	destroy_pool $VDEVS_POOL
 	# Creating VDEVS_POOL corrupted the gpart label.  We must erase the disk
 	# before we can partition it again.
-	# Calling "zfs list" will wait for the asynchronous pool destroy to complete
-	$ZFS list > /dev/null 2>&1
 	cleanup_devices $disk
 
 	(( largest_num = fs_size / (1024 * 1024 * ${POOL_MINSIZE}) )) 


More information about the svn-src-projects mailing list